home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 51
/
Amiga Format CD51 (2000-03-10)(Future Publishing)(GB)[!][issue 2000-04].iso
/
-in_the_mag-
/
fusion
/
mshardfile1
/
SimpleText
/
SimpleText.rsrc
/
CODE_6_Text.txt
< prev
next >
Wrap
Text File
|
1995-10-13
|
268KB
|
4,757 lines
# near model CODE resource
# jump table entries: 400-404 (5 of them)
fn00000000:
00000000 4E56 FFF0 link A6, -0x0010
00000004 48E7 0308 movem.l -[A7], D6,D7,A4
00000008 286E 0008 movea.l A4, [A6 + 0x8]
0000000C 598F subq.l A7, 4
0000000E 4878 7FFF push.l 0x7FFF
00000012 7000 moveq.l D0, 0x00
00000014 2F00 move.l -[A7], D0
00000016 2F0C move.l -[A7], A4
00000018 3F3C 0009 move.w -[A7], 0x9 /* '\t' */
0000001C A83D syscall TEDispatch
0000001E 2C1F move.l D6, [A7]+
00000020 2054 movea.l A0, [A4]
00000022 3E28 003C move.w D7, [A0 + 0x3C]
00000026 6734 beq +0x36 /* 0000005C */
00000028 48C7 ext.l D7
0000002A 2007 move.l D0, D7
0000002C 5380 subq.l D0, 1
0000002E 2054 movea.l A0, [A4]
00000030 2068 003E movea.l A0, [A0 + 0x3E]
00000034 2050 movea.l A0, [A0]
00000036 720D moveq.l D1, 0x0D
00000038 B230 0800 cmp.b D1, [A0 + D0]
0000003C 661E bne +0x20 /* 0000005C */
0000003E 3F07 move.w -[A7], D7
00000040 486E FFF0 pea.l [A6 - 0x10]
00000044 486E FFFC pea.l [A6 - 0x4]
00000048 486E FFFE pea.l [A6 - 0x2]
0000004C 2F0C move.l -[A7], A4
0000004E 3F3C 0003 move.w -[A7], 0x3
00000052 A83D syscall TEDispatch
00000054 302E FFFC move.w D0, [A6 - 0x4]
00000058 48C0 ext.l D0
0000005A DC80 add.l D6, D0
label0000005C:
0000005C 2006 move.l D0, D6
0000005E 4CEE 10C0 FFE4 movem.l D6,D7,A4, [A6 - 0x1C]
00000064 4E5E unlink A6
00000066 4E75 rts
fn00000068:
00000068 4E56 0000 link A6, 0
0000006C 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
00000070 266E 0008 movea.l A3, [A6 + 0x8]
00000074 206B 0170 movea.l A0, [A3 + 0x170]
00000078 2850 movea.l A4, [A0]
0000007A 558F subq.l A7, 2
0000007C 2F2B 015A move.l -[A7], [A3 + 0x15A]
00000080 A960 syscall GetControlValue/GetCtlValue
00000082 381F move.w D4, [A7]+
00000084 3E2C 0008 move.w D7, [A4 + 0x8]
00000088 9E54 sub.w D7, [A4]
0000008A 2F2B 015A move.l -[A7], [A3 + 0x15A]
0000008E 3F07 move.w -[A7], D7
00000090 A963 syscall SetControlValue/SetCtlValue
00000092 206B 0170 movea.l A0, [A3 + 0x170]
00000096 2850 movea.l A4, [A0]
00000098 4A2E 000F tst.b [A6 + 0xF]
0000009C 672A beq +0x2C /* 000000C8 */
0000009E 302C 000A move.w D0, [A4 + 0xA]
000000A2 48C0 ext.l D0
000000A4 322C 0002 move.w D1, [A4 + 0x2]
000000A8 48C1 ext.l D1
000000AA 2A00 move.l D5, D0
000000AC 9A81 sub.l D5, D1
000000AE 48C7 ext.l D7
000000B0 48C4 ext.l D4
000000B2 2C07 move.l D6, D7
000000B4 9C84 sub.l D6, D4
000000B6 4A45 tst.w D5
000000B8 6604 bne +0x6 /* 000000BE */
000000BA 4A46 tst.w D6
000000BC 670A beq +0xC /* 000000C8 */
label000000BE:
000000BE 3F05 move.w -[A7], D5
000000C0 3F06 move.w -[A7], D6
000000C2 2F2B 0170 move.l -[A7], [A3 + 0x170]
000000C6 A9DD syscall TEScroll
label000000C8:
000000C8 4CEE 18F0 FFE8 movem.l D4,D5,D6,D7,A3,A4, [A6 - 0x18]
000000CE 4E5E unlink A6
000000D0 4E75 rts
fn000000D2:
000000D2 4E56 FFF0 link A6, -0x0010
000000D6 48E7 0118 movem.l -[A7], D7,A3,A4
000000DA 286E 0008 movea.l A4, [A6 + 0x8]
000000DE 206C 0170 movea.l A0, [A4 + 0x170]
000000E2 2650 movea.l A3, [A0]
000000E4 204B movea.l A0, A3
000000E6 43EE FFF8 lea.l A1, [A6 - 0x8]
000000EA 22D8 move.l [A1]+, [A0]+
000000EC 22D8 move.l [A1]+, [A0]+
000000EE 41EE FFF0 lea.l A0, [A6 - 0x10]
000000F2 224B movea.l A1, A3
000000F4 5089 addq.l A1, 8
000000F6 20D9 move.l [A0]+, [A1]+
000000F8 20D9 move.l [A0]+, [A1]+
000000FA 3E2E FFF8 move.w D7, [A6 - 0x8]
000000FE 9E6E FFF0 sub.w D7, [A6 - 0x10]
00000102 41EE FFF0 lea.l A0, [A6 - 0x10]
00000106 43EC 014E lea.l A1, [A4 + 0x14E]
0000010A 20D9 move.l [A0]+, [A1]+
0000010C 20D9 move.l [A0]+, [A1]+
0000010E 486E FFF0 pea.l [A6 - 0x10]
00000112 7004 moveq.l D0, 0x04
00000114 3F00 move.w -[A7], D0
00000116 3F00 move.w -[A7], D0
00000118 A8A9 syscall InsetRect
0000011A 41EE FFF8 lea.l A0, [A6 - 0x8]
0000011E 43EE FFF0 lea.l A1, [A6 - 0x10]
00000122 20D9 move.l [A0]+, [A1]+
00000124 20D9 move.l [A0]+, [A1]+
00000126 486E FFF8 pea.l [A6 - 0x8]
0000012A 7000 moveq.l D0, 0x00
0000012C 3F00 move.w -[A7], D0
0000012E 3F07 move.w -[A7], D7
00000130 A8A8 syscall OffsetRect
00000132 206C 0170 movea.l A0, [A4 + 0x170]
00000136 2650 movea.l A3, [A0]
00000138 41EE FFF0 lea.l A0, [A6 - 0x10]
0000013C 43EB 0008 lea.l A1, [A3 + 0x8]
00000140 22D8 move.l [A1]+, [A0]+
00000142 22D8 move.l [A1]+, [A0]+
00000144 41EE FFF8 lea.l A0, [A6 - 0x8]
00000148 224B movea.l A1, A3
0000014A 22D8 move.l [A1]+, [A0]+
0000014C 22D8 move.l [A1]+, [A0]+
0000014E 2F2C 0170 move.l -[A7], [A4 + 0x170]
00000152 A9D0 syscall TECalText
00000154 4A2E 000F tst.b [A6 + 0xF]
00000158 670A beq +0xC /* 00000164 */
0000015A 206D FEC6 movea.l A0, [A5 - 0x13A]
0000015E 4868 0010 pea.l [A0 + 0x10]
00000162 A928 syscall InvalRect
label00000164:
00000164 4CEE 1880 FFE4 movem.l D7,A3,A4, [A6 - 0x1C]
0000016A 4E5E unlink A6
0000016C 4E75 rts
export_50:
0000016E 4E56 0000 link A6, 0
00000172 598F subq.l A7, 4
00000174 A924 syscall FrontWindow
00000176 205F movea.l A0, [A7]+
00000178 2D68 016C 0008 move.l [A6 + 0x8], [A0 + 0x16C]
0000017E 4E5E unlink A6
00000180 4E75 rts
export_51:
00000182 4E56 0000 link A6, 0
00000186 48E7 0018 movem.l -[A7], A3,A4
0000018A 598F subq.l A7, 4
0000018C A924 syscall FrontWindow
0000018E 285F movea.l A4, [A7]+
00000190 598F subq.l A7, 4
00000192 A8D8 syscall NewRgn
00000194 2657 movea.l A3, [A7]
00000196 A87A syscall GetClip
00000198 486C 0010 pea.l [A4 + 0x10]
0000019C A87B syscall ClipRect
0000019E 197C 0001 016A move.b [A4 + 0x16A], 0x1
000001A4 7000 moveq.l D0, 0x00
000001A6 2F00 move.l -[A7], D0
000001A8 2F00 move.l -[A7], D0
000001AA 2F00 move.l -[A7], D0
000001AC 2F0C move.l -[A7], A4
000001AE 4EAD 0042 jsr [A5 + 0x42 /* export_4 */]
000001B2 422C 016A clr.b [A4 + 0x16A]
000001B6 2F0B move.l -[A7], A3
000001B8 A879 syscall SetClip
000001BA 2F0B move.l -[A7], A3
000001BC A8D9 syscall DisposRgn/DisposeRgn
000001BE 4CEE 1800 FFF8 movem.l A3,A4, [A6 - 0x8]
000001C4 4E5E unlink A6
000001C6 4E75 rts
export_52:
000001C8 4E56 0000 link A6, 0
000001CC 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
000001D0 3A2E 000A move.w D5, [A6 + 0xA]
000001D4 3C2E 0008 move.w D6, [A6 + 0x8]
000001D8 266E 000C movea.l A3, [A6 + 0xC]
000001DC 4247 clr.w D7
000001DE 284B movea.l A4, A3
000001E0 D8C6 add.w A4, D6
000001E2 6042 bra +0x44 /* 00000226 */
label000001E4:
000001E4 7000 moveq.l D0, 0x00
000001E6 1014 move.b D0, [A4]
000001E8 0C40 00CA cmpi.w D0, 0xCA
000001EC 6634 bne +0x36 /* 00000222 */
000001EE 200C move.l D0, A4
000001F0 5380 subq.l D0, 1
000001F2 2040 movea.l A0, D0
000001F4 7000 moveq.l D0, 0x00
000001F6 1010 move.b D0, [A0]
000001F8 0C40 000D cmpi.w D0, 0xD /* '\r' */
000001FC 670C beq +0xE /* 0000020A */
000001FE 206E 0010 movea.l A0, [A6 + 0x10]
00000202 2068 003E movea.l A0, [A0 + 0x3E]
00000206 B7D0 cmpa.l A3, [A0]
00000208 6618 bne +0x1A /* 00000222 */
label0000020A:
0000020A 2F0B move.l -[A7], A3
0000020C 3F06 move.w -[A7], D6
0000020E 3F07 move.w -[A7], D7
00000210 A885 syscall DrawText
00000212 7020 moveq.l D0, 0x20
00000214 3F00 move.w -[A7], D0
00000216 A883 syscall DrawChar
00000218 3007 move.w D0, D7
0000021A 5240 addq.w D0, 1
0000021C DC40 add.w D6, D0
0000021E 4247 clr.w D7
00000220 6002 bra +0x4 /* 00000224 */
label00000222:
00000222 5247 addq.w D7, 1
label00000224:
00000224 524C addq.w A4, 1
label00000226:
00000226 3005 move.w D0, D5
00000228 5345 subq.w D5, 1
0000022A 4A40 tst.w D0
0000022C 66B6 bne -0x48 /* 000001E4 */
0000022E 2F0B move.l -[A7], A3
00000230 3F06 move.w -[A7], D6
00000232 3F07 move.w -[A7], D7
00000234 A885 syscall DrawText
00000236 4CEE 18E0 FFEC movem.l D5,D6,D7,A3,A4, [A6 - 0x14]
0000023C 4E5E unlink A6
0000023E 205F movea.l A0, [A7]+
00000240 4FEF 0010 lea.l A7, [A7 + 0x10]
00000244 4ED0 jmp [A0]
fn00000246:
00000246 4E56 0000 link A6, 0
0000024A 4AAD F274 tst.l [A5 - 0xD8C]
0000024E 672C beq +0x2E /* 0000027C */
00000250 558F subq.l A7, 2
00000252 2F2D F274 move.l -[A7], [A5 - 0xD8C]
00000256 203C 022C 000C move.l D0, 0x22C000C
0000025C A800 syscall SoundDispatch
0000025E 4A2E 000B tst.b [A6 + 0xB]
00000262 544F addq.w A7, 2
00000264 6716 beq +0x18 /* 0000027C */
00000266 558F subq.l A7, 2
00000268 2F2D F274 move.l -[A7], [A5 - 0xD8C]
0000026C 203C 021C 000C move.l D0, 0x21C000C
00000272 A800 syscall SoundDispatch
00000274 7000 moveq.l D0, 0x00
00000276 2B40 F274 move.l [A5 - 0xD8C], D0
0000027A 544F addq.w A7, 2
label0000027C:
0000027C 4AAD F268 tst.l [A5 - 0xD98]
00000280 670C beq +0xE /* 0000028E */
00000282 206D F268 movea.l A0, [A5 - 0xD98]
00000286 A01F syscall DisposPtr/DisposePtr
00000288 7000 moveq.l D0, 0x00
0000028A 2B40 F268 move.l [A5 - 0xD98], D0
label0000028E:
0000028E 4E5E unlink A6
00000290 4E75 rts
fn00000292:
00000292 4E56 0000 link A6, 0
00000296 48E7 0138 movem.l -[A7], D7,A2,A3,A4
0000029A 246E 0008 movea.l A2, [A6 + 0x8]
0000029E 266E 0010 movea.l A3, [A6 + 0x10]
000002A2 286E 000C movea.l A4, [A6 + 0xC]
000002A6 4A54 tst.w [A4]
000002A8 661A bne +0x1C /* 000002C4 */
000002AA 3014 move.w D0, [A4]
000002AC 48C0 ext.l D0
000002AE D092 add.l D0, [A2]
000002B0 2040 movea.l A0, D0
000002B2 7000 moveq.l D0, 0x00
000002B4 1010 move.b D0, [A0]
000002B6 0C40 00CA cmpi.w D0, 0xCA
000002BA 6608 bne +0xA /* 000002C4 */
000002BC 36BC 0001 move.w [A3], 0x1
000002C0 7001 moveq.l D0, 0x01
000002C2 607A bra +0x7C /* 0000033E */
label000002C4:
000002C4 7000 moveq.l D0, 0x00
000002C6 102D F246 move.b D0, [A5 - 0xDBA]
000002CA 4A80 tst.l D0
000002CC 6730 beq +0x32 /* 000002FE */
000002CE 598F subq.l A7, 4
000002D0 2F0A move.l -[A7], A2
000002D2 3014 move.w D0, [A4]
000002D4 48C0 ext.l D0
000002D6 2F00 move.l -[A7], D0
000002D8 486D F247 pea.l [A5 - 0xDB9]
000002DC 7000 moveq.l D0, 0x00
000002DE 102D F246 move.b D0, [A5 - 0xDBA]
000002E2 2F00 move.l -[A7], D0
000002E4 7000 moveq.l D0, 0x00
000002E6 2F00 move.l -[A7], D0
000002E8 2F00 move.l -[A7], D0
000002EA A9E0 syscall Munger
000002EC 2E1F move.l D7, [A7]+
000002EE 6D0E blt +0x10 /* 000002FE */
000002F0 3887 move.w [A4], D7
000002F2 7000 moveq.l D0, 0x00
000002F4 102D F246 move.b D0, [A5 - 0xDBA]
000002F8 3680 move.w [A3], D0
000002FA 7001 moveq.l D0, 0x01
000002FC 6040 bra +0x42 /* 0000033E */
label000002FE:
000002FE 7000 moveq.l D0, 0x00
00000300 102D F226 move.b D0, [A5 - 0xDDA]
00000304 4A80 tst.l D0
00000306 6730 beq +0x32 /* 00000338 */
00000308 598F subq.l A7, 4
0000030A 2F0A move.l -[A7], A2
0000030C 3014 move.w D0, [A4]
0000030E 48C0 ext.l D0
00000310 2F00 move.l -[A7], D0
00000312 486D F227 pea.l [A5 - 0xDD9]
00000316 7000 moveq.l D0, 0x00
00000318 102D F226 move.b D0, [A5 - 0xDDA]
0000031C 2F00 move.l -[A7], D0
0000031E 7000 moveq.l D0, 0x00
00000320 2F00 move.l -[A7], D0
00000322 2F00 move.l -[A7], D0
00000324 A9E0 syscall Munger
00000326 2E1F move.l D7, [A7]+
00000328 6D0E blt +0x10 /* 00000338 */
0000032A 3887 move.w [A4], D7
0000032C 7000 moveq.l D0, 0x00
0000032E 102D F226 move.b D0, [A5 - 0xDDA]
00000332 3680 move.w [A3], D0
00000334 7001 moveq.l D0, 0x01
00000336 6006 bra +0x8 /* 0000033E */
label00000338:
00000338 36BC 0001 move.w [A3], 0x1
0000033C 7000 moveq.l D0, 0x00
label0000033E:
0000033E 4CEE 1C80 FFF0 movem.l D7,A2,A3,A4, [A6 - 0x10]
00000344 4E5E unlink A6
00000346 4E75 rts
fn00000348:
00000348 4E56 FFE0 link A6, -0x0020
0000034C 48E7 0738 movem.l -[A7], D5,D6,D7,A2,A3,A4
00000350 246E 0008 movea.l A2, [A6 + 0x8]
00000354 266E 000C movea.l A3, [A6 + 0xC]
00000358 558F subq.l A7, 2
0000035A A994 syscall CurResFile
0000035C 3A1F move.w D5, [A7]+
0000035E 3F2A 00EC move.w -[A7], [A2 + 0xEC]
00000362 A998 syscall UseResFile
00000364 558F subq.l A7, 2
00000366 2F3C 5049 4354 move.l -[A7], 0x50494354 /* 'PICT' */
0000036C A80D syscall Count1Resources
0000036E 3C1F move.w D6, [A7]+
00000370 4247 clr.w D7
00000372 4A46 tst.w D6
00000374 6700 012C beq +0x12E /* 000004A2 */
00000378 598F subq.l A7, 4
0000037A A8D8 syscall NewRgn
0000037C 2D57 FFE8 move.l [A6 - 0x18], [A7]
00000380 A87A syscall GetClip
00000382 2053 movea.l A0, [A3]
00000384 5088 addq.l A0, 8
00000386 43EE FFEC lea.l A1, [A6 - 0x14]
0000038A 22D8 move.l [A1]+, [A0]+
0000038C 22D8 move.l [A1]+, [A0]+
0000038E 41EE FFF4 lea.l A0, [A6 - 0xC]
00000392 43EE FFEC lea.l A1, [A6 - 0x14]
00000396 20D9 move.l [A0]+, [A1]+
00000398 20D9 move.l [A0]+, [A1]+
0000039A 486E FFEC pea.l [A6 - 0x14]
0000039E A87B syscall ClipRect
000003A0 2053 movea.l A0, [A3]
000003A2 2D68 003E FFFC move.l [A6 - 0x4], [A0 + 0x3E]
000003A8 2053 movea.l A0, [A3]
000003AA 3028 003C move.w D0, [A0 + 0x3C]
000003AE 48C0 ext.l D0
000003B0 2C00 move.l D6, D0
000003B2 426E FFE4 clr.w [A6 - 0x1C]
000003B6 6000 00D2 bra +0xD4 /* 0000048A */
label000003BA:
000003BA 486E FFE6 pea.l [A6 - 0x1A]
000003BE 486E FFE4 pea.l [A6 - 0x1C]
000003C2 2F2E FFFC move.l -[A7], [A6 - 0x4]
000003C6 4EBA FECA jsr [PC - 0x136 /* 00000292 */]
000003CA 4A00 tst.b D0
000003CC 4FEF 000C lea.l A7, [A7 + 0xC]
000003D0 6700 00C4 beq +0xC6 /* 00000496 */
000003D4 598F subq.l A7, 4
000003D6 3F2E FFE4 move.w -[A7], [A6 - 0x1C]
000003DA 2F0B move.l -[A7], A3
000003DC 3F3C 0008 move.w -[A7], 0x8
000003E0 A83D syscall TEDispatch
000003E2 2D5F FFE0 move.l [A6 - 0x20], [A7]+
000003E6 598F subq.l A7, 4
000003E8 2F3C 5049 4354 move.l -[A7], 0x50494354 /* 'PICT' */
000003EE 3007 move.w D0, D7
000003F0 D07C 03E8 add.w D0, 0x3E8
000003F4 3F00 move.w -[A7], D0
000003F6 A81F syscall Get1Resource
000003F8 285F movea.l A4, [A7]+
000003FA 200C move.l D0, A4
000003FC 6700 0082 beq +0x84 /* 00000480 */
00000400 2F0C move.l -[A7], A4
00000402 A9A2 syscall LoadResource
00000404 204C movea.l A0, A4
00000406 A04A syscall HNoPurge
00000408 2054 movea.l A0, [A4]
0000040A 43EE FFEC lea.l A1, [A6 - 0x14]
0000040E 5488 addq.l A0, 2
00000410 22D8 move.l [A1]+, [A0]+
00000412 22D8 move.l [A1]+, [A0]+
00000414 486E FFEC pea.l [A6 - 0x14]
00000418 302E FFEE move.w D0, [A6 - 0x12]
0000041C 48C0 ext.l D0
0000041E 4480 neg.l D0
00000420 3F00 move.w -[A7], D0
00000422 302E FFEC move.w D0, [A6 - 0x14]
00000426 48C0 ext.l D0
00000428 4480 neg.l D0
0000042A 3F00 move.w -[A7], D0
0000042C A8A8 syscall OffsetRect
0000042E 486E FFEC pea.l [A6 - 0x14]
00000432 302E FFEE move.w D0, [A6 - 0x12]
00000436 48C0 ext.l D0
00000438 322E FFFA move.w D1, [A6 - 0x6]
0000043C 48C1 ext.l D1
0000043E 342E FFF6 move.w D2, [A6 - 0xA]
00000442 48C2 ext.l D2
00000444 9282 sub.l D1, D2
00000446 E281 asr D1, 1
00000448 D280 add.l D1, D0
0000044A 302E FFF2 move.w D0, [A6 - 0xE]
0000044E 48C0 ext.l D0
00000450 342E FFEE move.w D2, [A6 - 0x12]
00000454 48C2 ext.l D2
00000456 9082 sub.l D0, D2
00000458 E280 asr D0, 1
0000045A 9240 sub.w D1, D0
0000045C 3F01 move.w -[A7], D1
0000045E 302E FFE0 move.w D0, [A6 - 0x20]
00000462 48C0 ext.l D0
00000464 322E FFEC move.w D1, [A6 - 0x14]
00000468 48C1 ext.l D1
0000046A 9081 sub.l D0, D1
0000046C 906A 0160 sub.w D0, [A2 + 0x160]
00000470 3F00 move.w -[A7], D0
00000472 A8A8 syscall OffsetRect
00000474 2F0C move.l -[A7], A4
00000476 486E FFEC pea.l [A6 - 0x14]
0000047A A8F6 syscall DrawPicture
0000047C 2F0C move.l -[A7], A4
0000047E A9A3 syscall ReleaseResource
label00000480:
00000480 5247 addq.w D7, 1
00000482 302E FFE6 move.w D0, [A6 - 0x1A]
00000486 D16E FFE4 add.w [A6 - 0x1C], D0
label0000048A:
0000048A 302E FFE4 move.w D0, [A6 - 0x1C]
0000048E 48C0 ext.l D0
00000490 BC80 cmp.l D6, D0
00000492 6E00 FF26 bgt -0xD8 /* 000003BA */
label00000496:
00000496 2F2E FFE8 move.l -[A7], [A6 - 0x18]
0000049A A879 syscall SetClip
0000049C 2F2E FFE8 move.l -[A7], [A6 - 0x18]
000004A0 A8D9 syscall DisposRgn/DisposeRgn
label000004A2:
000004A2 3F05 move.w -[A7], D5
000004A4 A998 syscall UseResFile
000004A6 4CEE 1CE0 FFC8 movem.l D5,D6,D7,A2,A3,A4, [A6 - 0x38]
000004AC 4E5E unlink A6
000004AE 4E75 rts
fn000004B0:
000004B0 4E56 FFF8 link A6, -0x0008
000004B4 48E7 0F08 movem.l -[A7], D4,D5,D6,D7,A4
000004B8 286E 0008 movea.l A4, [A6 + 0x8]
000004BC 4247 clr.w D7
000004BE 558F subq.l A7, 2
000004C0 3F2C 00EA move.w -[A7], [A4 + 0xEA]
000004C4 7001 moveq.l D0, 0x01
000004C6 3F00 move.w -[A7], D0
000004C8 7200 moveq.l D1, 0x00
000004CA 2F01 move.l -[A7], D1
000004CC 4EAD 0122 jsr [A5 + 0x122 /* export_32 */]
000004D0 206C 0170 movea.l A0, [A4 + 0x170]
000004D4 2050 movea.l A0, [A0]
000004D6 3028 003C move.w D0, [A0 + 0x3C]
000004DA 48C0 ext.l D0
000004DC 2D40 FFFC move.l [A6 - 0x4], D0
000004E0 558F subq.l A7, 2
000004E2 3F2C 00EA move.w -[A7], [A4 + 0xEA]
000004E6 486E FFFC pea.l [A6 - 0x4]
000004EA 206C 0170 movea.l A0, [A4 + 0x170]
000004EE 2050 movea.l A0, [A0]
000004F0 2068 003E movea.l A0, [A0 + 0x3E]
000004F4 2F10 move.l -[A7], [A0]
000004F6 4EAD 010A jsr [A5 + 0x10A /* export_29 */]
000004FA 3E1F move.w D7, [A7]+
000004FC 544F addq.w A7, 2
000004FE 6600 0144 bne +0x146 /* 00000644 */
00000502 558F subq.l A7, 2
00000504 3F2C 00EA move.w -[A7], [A4 + 0xEA]
00000508 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000050C 4EAD 011A jsr [A5 + 0x11A /* export_31 */]
00000510 70FF moveq.l D0, 0xFFFFFFFF
00000512 B06C 00EC cmp.w D0, [A4 + 0xEC]
00000516 544F addq.w A7, 2
00000518 662C bne +0x2E /* 00000546 */
0000051A 486C 00A4 pea.l [A4 + 0xA4]
0000051E 2F3C 7474 7874 move.l -[A7], 0x74747874 /* 'ttxt' */
00000524 2F2C 00A0 move.l -[A7], [A4 + 0xA0]
00000528 7000 moveq.l D0, 0x00
0000052A 3F00 move.w -[A7], D0
0000052C 303C 000E move.w D0, 0xE
00000530 AA52 syscall HFSPinaforeDispatch/HighLevelFSDispatch
00000532 558F subq.l A7, 2
00000534 486C 00A4 pea.l [A4 + 0xA4]
00000538 7003 moveq.l D0, 0x03
0000053A 1F00 move.b -[A7], D0
0000053C 303C 000D move.w D0, 0xD /* '\r' */
00000540 AA52 syscall HFSPinaforeDispatch/HighLevelFSDispatch
00000542 395F 00EC move.w [A4 + 0xEC], [A7]+
label00000546:
00000546 70FF moveq.l D0, 0xFFFFFFFF
00000548 B06C 00EC cmp.w D0, [A4 + 0xEC]
0000054C 6700 00F6 beq +0xF8 /* 00000644 */
00000550 558F subq.l A7, 2
00000552 A994 syscall CurResFile
00000554 3C1F move.w D6, [A7]+
00000556 3F2C 00EC move.w -[A7], [A4 + 0xEC]
0000055A A998 syscall UseResFile
0000055C 598F subq.l A7, 4
0000055E 2F3C 736E 6420 move.l -[A7], 0x736E6420 /* 'snd ' */
00000564 3F3C 2710 move.w -[A7], 0x2710
00000568 A81F syscall Get1Resource
0000056A 2D5F FFF8 move.l [A6 - 0x8], [A7]+
0000056E 670C beq +0xE /* 0000057C */
00000570 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00000574 A9AD syscall RemoveResource/RmveResource
00000576 206E FFF8 movea.l A0, [A6 - 0x8]
0000057A A023 syscall DisposHandle/DisposeHandle
label0000057C:
0000057C 2D6C 0174 FFF8 move.l [A6 - 0x8], [A4 + 0x174]
00000582 672E beq +0x30 /* 000005B2 */
00000584 558F subq.l A7, 2
00000586 486E FFF8 pea.l [A6 - 0x8]
0000058A 4EAD 0132 jsr [A5 + 0x132 /* export_34 */]
0000058E 3E1F move.w D7, [A7]+
00000590 661A bne +0x1C /* 000005AC */
00000592 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00000596 2F3C 736E 6420 move.l -[A7], 0x736E6420 /* 'snd ' */
0000059C 3F3C 2710 move.w -[A7], 0x2710
000005A0 487A 00B6 pea.l [PC + 0xB6 /* 00000658, value 0x4E56 'NV', cstring "" */]
000005A4 A9AB syscall AddResource
000005A6 558F subq.l A7, 2
000005A8 A9AF syscall ResError
000005AA 3E1F move.w D7, [A7]+
label000005AC:
000005AC 4A47 tst.w D7
000005AE 6600 0090 bne +0x92 /* 00000640 */
label000005B2:
000005B2 598F subq.l A7, 4
000005B4 2F3C 7374 796C move.l -[A7], 0x7374796C /* 'styl' */
000005BA 3F3C 0080 move.w -[A7], 0x80
000005BE A81F syscall Get1Resource
000005C0 2D5F FFF8 move.l [A6 - 0x8], [A7]+
000005C4 670C beq +0xE /* 000005D2 */
000005C6 2F2E FFF8 move.l -[A7], [A6 - 0x8]
000005CA A9AD syscall RemoveResource/RmveResource
000005CC 206E FFF8 movea.l A0, [A6 - 0x8]
000005D0 A023 syscall DisposHandle/DisposeHandle
label000005D2:
000005D2 206C 0170 movea.l A0, [A4 + 0x170]
000005D6 2050 movea.l A0, [A0]
000005D8 3828 0020 move.w D4, [A0 + 0x20]
000005DC 206C 0170 movea.l A0, [A4 + 0x170]
000005E0 2050 movea.l A0, [A0]
000005E2 3A28 0022 move.w D5, [A0 + 0x22]
000005E6 206C 0170 movea.l A0, [A4 + 0x170]
000005EA 2050 movea.l A0, [A0]
000005EC 4268 0020 clr.w [A0 + 0x20]
000005F0 206C 0170 movea.l A0, [A4 + 0x170]
000005F4 2050 movea.l A0, [A0]
000005F6 317C 7FFF 0022 move.w [A0 + 0x22], 0x7FFF
000005FC 598F subq.l A7, 4
000005FE 2F2C 0170 move.l -[A7], [A4 + 0x170]
00000602 3F3C 0006 move.w -[A7], 0x6
00000606 A83D syscall TEDispatch
00000608 2D5F FFF8 move.l [A6 - 0x8], [A7]+
0000060C 206C 0170 movea.l A0, [A4 + 0x170]
00000610 2050 movea.l A0, [A0]
00000612 3144 0020 move.w [A0 + 0x20], D4
00000616 206C 0170 movea.l A0, [A4 + 0x170]
0000061A 2050 movea.l A0, [A0]
0000061C 3145 0022 move.w [A0 + 0x22], D5
00000620 4AAE FFF8 tst.l [A6 - 0x8]
00000624 671A beq +0x1C /* 00000640 */
00000626 2F2E FFF8 move.l -[A7], [A6 - 0x8]
0000062A 2F3C 7374 796C move.l -[A7], 0x7374796C /* 'styl' */
00000630 3F3C 0080 move.w -[A7], 0x80
00000634 487A 0022 pea.l [PC + 0x22 /* 00000658, value 0x4E56 'NV', cstring "" */]
00000638 A9AB syscall AddResource
0000063A 558F subq.l A7, 2
0000063C A9AF syscall ResError
0000063E 3E1F move.w D7, [A7]+
label00000640:
00000640 3F06 move.w -[A7], D6
00000642 A998 syscall UseResFile
label00000644:
00000644 4A47 tst.w D7
00000646 6604 bne +0x6 /* 0000064C */
00000648 422C 00F3 clr.b [A4 + 0xF3]
label0000064C:
0000064C 3007 move.w D0, D7
0000064E 4CEE 10F0 FFE4 movem.l D4,D5,D6,D7,A4, [A6 - 0x1C]
00000654 4E5E unlink A6
00000656 4E75 rts
00000658 0000 4E56 ori.b D0, 0x56 /* 'V' */
0000065C FFF2 .invalid <<F/7/7>>
0000065E 2F2E 000A move.l -[A7], [A6 + 0xA]
00000662 3F2E 0008 move.w -[A7], [A6 + 0x8]
00000666 486E FFF2 pea.l [A6 - 0xE]
0000066A 486E FFF4 pea.l [A6 - 0xC]
0000066E 486E FFF8 pea.l [A6 - 0x8]
00000672 A98D syscall GetDialogItem/GetDItem
00000674 558F subq.l A7, 2
00000676 486E FFF8 pea.l [A6 - 0x8]
0000067A 7000 moveq.l D0, 0x00
0000067C 3F00 move.w -[A7], D0
0000067E 3F00 move.w -[A7], D0
00000680 3F3C 0081 move.w -[A7], 0x81
00000684 303C 0500 move.w D0, 0x500
00000688 ABC9 syscall IconDispatch
0000068A 4E5E unlink A6
0000068C 205F movea.l A0, [A7]+
0000068E 5C4F addq.w A7, 6
00000690 4ED0 jmp [A0]
00000692 4E56 FFF2 link A6, -0x000E
00000696 2F2E 000A move.l -[A7], [A6 + 0xA]
0000069A 3F2E 0008 move.w -[A7], [A6 + 0x8]
0000069E 486E FFF2 pea.l [A6 - 0xE]
000006A2 486E FFF4 pea.l [A6 - 0xC]
000006A6 486E FFF8 pea.l [A6 - 0x8]
000006AA A98D syscall GetDialogItem/GetDItem
000006AC 558F subq.l A7, 2
000006AE 486E FFF8 pea.l [A6 - 0x8]
000006B2 7000 moveq.l D0, 0x00
000006B4 3F00 move.w -[A7], D0
000006B6 3F00 move.w -[A7], D0
000006B8 3F3C 0084 move.w -[A7], 0x84
000006BC 303C 0500 move.w D0, 0x500
000006C0 ABC9 syscall IconDispatch
000006C2 4E5E unlink A6
000006C4 205F movea.l A0, [A7]+
000006C6 5C4F addq.w A7, 6
000006C8 4ED0 jmp [A0]
000006CA 4E56 FFF2 link A6, -0x000E
000006CE 48E7 0108 movem.l -[A7], D7,A4
000006D2 286E 000C movea.l A4, [A6 + 0xC]
000006D6 598F subq.l A7, 4
000006D8 7016 moveq.l D0, 0x16
000006DA 3F00 move.w -[A7], D0
000006DC 2F3C 8402 0008 move.l -[A7], 0x84020008
000006E2 A8B5 syscall ScriptUtil
000006E4 201F move.l D0, [A7]+
000006E6 3E00 move.w D7, D0
000006E8 3D7C 0001 FFF2 move.w [A6 - 0xE], 0x1
000006EE 558F subq.l A7, 2
000006F0 486E FFF2 pea.l [A6 - 0xE]
000006F4 486E FFF4 pea.l [A6 - 0xC]
000006F8 2F0C move.l -[A7], A4
000006FA 3F3C 000A move.w -[A7], 0xA /* '\n' */
000006FE A83D syscall TEDispatch
00000700 4A1F tst.b [A7]+
00000702 6712 beq +0x14 /* 00000716 */
00000704 558F subq.l A7, 2
00000706 3F2E FFF4 move.w -[A7], [A6 - 0xC]
0000070A 2F3C 8202 0006 move.l -[A7], 0x82020006
00000710 A8B5 syscall ScriptUtil
00000712 BE5F cmp.w D7, [A7]+
00000714 672A beq +0x2C /* 00000740 */
label00000716:
00000716 598F subq.l A7, 4
00000718 3F07 move.w -[A7], D7
0000071A 700E moveq.l D0, 0x0E
0000071C 3F00 move.w -[A7], D0
0000071E 2F3C 8404 000C move.l -[A7], 0x8404000C
00000724 A8B5 syscall ScriptUtil
00000726 201F move.l D0, [A7]+
00000728 3D40 FFF4 move.w [A6 - 0xC], D0
0000072C 7001 moveq.l D0, 0x01
0000072E 3F00 move.w -[A7], D0
00000730 486E FFF4 pea.l [A6 - 0xC]
00000734 7200 moveq.l D1, 0x00
00000736 1F01 move.b -[A7], D1
00000738 2F0C move.l -[A7], A4
0000073A 3F3C 0001 move.w -[A7], 0x1
0000073E A83D syscall TEDispatch
label00000740:
00000740 4CEE 1080 FFEA movem.l D7,A4, [A6 - 0x16]
00000746 4E5E unlink A6
00000748 205F movea.l A0, [A7]+
0000074A 504F addq.w A7, 8
0000074C 4ED0 jmp [A0]
0000074E 4E56 0000 link A6, 0
00000752 2F07 move.l -[A7], D7
00000754 2E2E 0008 move.l D7, [A6 + 0x8]
00000758 7000 moveq.l D0, 0x00
0000075A 2F00 move.l -[A7], D0
0000075C 2F00 move.l -[A7], D0
0000075E 2F00 move.l -[A7], D0
00000760 2F07 move.l -[A7], D7
00000762 4EAD 0042 jsr [A5 + 0x42 /* export_4 */]
00000766 7001 moveq.l D0, 0x01
00000768 2F00 move.l -[A7], D0
0000076A 2F07 move.l -[A7], D7
0000076C 4EBA F8FA jsr [PC - 0x706 /* 00000068 */]
00000770 2047 movea.l A0, D7
00000772 117C 0001 00F3 move.b [A0 + 0xF3], 0x1
00000778 2E2E FFFC move.l D7, [A6 - 0x4]
0000077C 4E5E unlink A6
0000077E 205F movea.l A0, [A7]+
00000780 4FEF 001C lea.l A7, [A7 + 0x1C]
00000784 4ED0 jmp [A0]
00000786 4E56 FFF2 link A6, -0x000E
0000078A 48E7 0318 movem.l -[A7], D6,D7,A3,A4
0000078E 3C2E 0010 move.w D6, [A6 + 0x10]
00000792 266E 0008 movea.l A3, [A6 + 0x8]
00000796 286E 000C movea.l A4, [A6 + 0xC]
0000079A 3E06 move.w D7, D6
0000079C 3006 move.w D0, D6
0000079E 5240 addq.w D0, 1
000007A0 671E beq +0x20 /* 000007C0 */
000007A2 0440 000F subi.w D0, 0xF
000007A6 6700 00C8 beq +0xCA /* 00000870 */
000007AA 5340 subq.w D0, 1
000007AC 6700 0106 beq +0x108 /* 000008B4 */
000007B0 5340 subq.w D0, 1
000007B2 6700 00BC beq +0xBE /* 00000870 */
000007B6 5340 subq.w D0, 1
000007B8 6700 00FA beq +0xFC /* 000008B4 */
000007BC 6000 0136 bra +0x138 /* 000008F4 */
label000007C0:
000007C0 598F subq.l A7, 4
000007C2 2F0C move.l -[A7], A4
000007C4 A917 syscall GetWRefCon
000007C6 0C9F 7374 6466 cmpi.l [A7]+, 0x73746466 /* 'stdf' */
000007CC 6600 0126 bne +0x128 /* 000008F4 */
000007D0 2F0C move.l -[A7], A4
000007D2 7010 moveq.l D0, 0x10
000007D4 3F00 move.w -[A7], D0
000007D6 486E FFF2 pea.l [A6 - 0xE]
000007DA 486E FFF4 pea.l [A6 - 0xC]
000007DE 486E FFF8 pea.l [A6 - 0x8]
000007E2 A98D syscall GetDialogItem/GetDItem
000007E4 41FA FE74 lea.l A0, [PC - 0x18C /* 0000065A, value 0x4E56FFF2 */]
000007E8 2D48 FFF4 move.l [A6 - 0xC], A0
000007EC 2F0C move.l -[A7], A4
000007EE 7010 moveq.l D0, 0x10
000007F0 3F00 move.w -[A7], D0
000007F2 3F2E FFF2 move.w -[A7], [A6 - 0xE]
000007F6 2F08 move.l -[A7], A0
000007F8 486E FFF8 pea.l [A6 - 0x8]
000007FC A98E syscall SetDialogItem/SetDItem
000007FE 2F0C move.l -[A7], A4
00000800 7011 moveq.l D0, 0x11
00000802 3F00 move.w -[A7], D0
00000804 486E FFF2 pea.l [A6 - 0xE]
00000808 486E FFF4 pea.l [A6 - 0xC]
0000080C 486E FFF8 pea.l [A6 - 0x8]
00000810 A98D syscall GetDialogItem/GetDItem
00000812 41FA FE7E lea.l A0, [PC - 0x182 /* 00000692, value 0x4E56FFF2 */]
00000816 2D48 FFF4 move.l [A6 - 0xC], A0
0000081A 2F0C move.l -[A7], A4
0000081C 7011 moveq.l D0, 0x11
0000081E 3F00 move.w -[A7], D0
00000820 3F2E FFF2 move.w -[A7], [A6 - 0xE]
00000824 2F08 move.l -[A7], A0
00000826 486E FFF8 pea.l [A6 - 0x8]
0000082A A98E syscall SetDialogItem/SetDItem
0000082C 2F0C move.l -[A7], A4
0000082E 700E moveq.l D0, 0x0E
00000830 3F00 move.w -[A7], D0
00000832 486E FFF2 pea.l [A6 - 0xE]
00000836 486E FFF4 pea.l [A6 - 0xC]
0000083A 486E FFF8 pea.l [A6 - 0x8]
0000083E A98D syscall GetDialogItem/GetDItem
00000840 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00000844 7001 moveq.l D0, 0x01
00000846 3F00 move.w -[A7], D0
00000848 A963 syscall SetControlValue/SetCtlValue
0000084A 2F0C move.l -[A7], A4
0000084C 700F moveq.l D0, 0x0F
0000084E 3F00 move.w -[A7], D0
00000850 486E FFF2 pea.l [A6 - 0xE]
00000854 486E FFF4 pea.l [A6 - 0xC]
00000858 486E FFF8 pea.l [A6 - 0x8]
0000085C A98D syscall GetDialogItem/GetDItem
0000085E 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00000862 7000 moveq.l D0, 0x00
00000864 3F00 move.w -[A7], D0
00000866 A963 syscall SetControlValue/SetCtlValue
00000868 16BC 0001 move.b [A3], 0x1
0000086C 6000 0086 bra +0x88 /* 000008F4 */
label00000870:
00000870 2F0C move.l -[A7], A4
00000872 700E moveq.l D0, 0x0E
00000874 3F00 move.w -[A7], D0
00000876 486E FFF2 pea.l [A6 - 0xE]
0000087A 486E FFF4 pea.l [A6 - 0xC]
0000087E 486E FFF8 pea.l [A6 - 0x8]
00000882 A98D syscall GetDialogItem/GetDItem
00000884 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00000888 7001 moveq.l D0, 0x01
0000088A 3F00 move.w -[A7], D0
0000088C A963 syscall SetControlValue/SetCtlValue
0000088E 2F0C move.l -[A7], A4
00000890 700F moveq.l D0, 0x0F
00000892 3F00 move.w -[A7], D0
00000894 486E FFF2 pea.l [A6 - 0xE]
00000898 486E FFF4 pea.l [A6 - 0xC]
0000089C 486E FFF8 pea.l [A6 - 0x8]
000008A0 A98D syscall GetDialogItem/GetDItem
000008A2 2F2E FFF4 move.l -[A7], [A6 - 0xC]
000008A6 7000 moveq.l D0, 0x00
000008A8 3F00 move.w -[A7], D0
000008AA A963 syscall SetControlValue/SetCtlValue
000008AC 16BC 0001 move.b [A3], 0x1
000008B0 7E64 moveq.l D7, 0x64
000008B2 6040 bra +0x42 /* 000008F4 */
label000008B4:
000008B4 2F0C move.l -[A7], A4
000008B6 700E moveq.l D0, 0x0E
000008B8 3F00 move.w -[A7], D0
000008BA 486E FFF2 pea.l [A6 - 0xE]
000008BE 486E FFF4 pea.l [A6 - 0xC]
000008C2 486E FFF8 pea.l [A6 - 0x8]
000008C6 A98D syscall GetDialogItem/GetDItem
000008C8 2F2E FFF4 move.l -[A7], [A6 - 0xC]
000008CC 7000 moveq.l D0, 0x00
000008CE 3F00 move.w -[A7], D0
000008D0 A963 syscall SetControlValue/SetCtlValue
000008D2 2F0C move.l -[A7], A4
000008D4 700F moveq.l D0, 0x0F
000008D6 3F00 move.w -[A7], D0
000008D8 486E FFF2 pea.l [A6 - 0xE]
000008DC 486E FFF4 pea.l [A6 - 0xC]
000008E0 486E FFF8 pea.l [A6 - 0x8]
000008E4 A98D syscall GetDialogItem/GetDItem
000008E6 2F2E FFF4 move.l -[A7], [A6 - 0xC]
000008EA 7001 moveq.l D0, 0x01
000008EC 3F00 move.w -[A7], D0
000008EE A963 syscall SetControlValue/SetCtlValue
000008F0 4213 clr.b [A3]
000008F2 7E64 moveq.l D7, 0x64
label000008F4:
000008F4 3D47 0012 move.w [A6 + 0x12], D7
000008F8 4CEE 18C0 FFE2 movem.l D6,D7,A3,A4, [A6 - 0x1E]
000008FE 4E5E unlink A6
00000900 205F movea.l A0, [A7]+
00000902 4FEF 000A lea.l A7, [A7 + 0xA]
00000906 4ED0 jmp [A0]
00000908 4E56 0000 link A6, 0
0000090C 2F0C move.l -[A7], A4
0000090E 286E 0010 movea.l A4, [A6 + 0x10]
00000912 558F subq.l A7, 2
00000914 2F2E 0014 move.l -[A7], [A6 + 0x14]
00000918 2F0C move.l -[A7], A4
0000091A 2F2E 000C move.l -[A7], [A6 + 0xC]
0000091E 4EAD 015A jsr [A5 + 0x15A /* export_39 */]
00000922 4A1F tst.b [A7]+
00000924 6708 beq +0xA /* 0000092E */
00000926 1D7C 0001 0018 move.b [A6 + 0x18], 0x1
0000092C 6012 bra +0x14 /* 00000940 */
label0000092E:
0000092E 7006 moveq.l D0, 0x06
00000930 B054 cmp.w D0, [A4]
00000932 6608 bne +0xA /* 0000093C */
00000934 2F0C move.l -[A7], A4
00000936 4EAD 008A jsr [A5 + 0x8A /* export_13 */]
0000093A 584F addq.w A7, 4
label0000093C:
0000093C 422E 0018 clr.b [A6 + 0x18]
label00000940:
00000940 286E FFFC movea.l A4, [A6 - 0x4]
00000944 4E5E unlink A6
00000946 205F movea.l A0, [A7]+
00000948 4FEF 0010 lea.l A7, [A7 + 0x10]
0000094C 4ED0 jmp [A0]
fn0000094E:
0000094E 4E56 FE92 link A6, -0x016E
00000952 48E7 0738 movem.l -[A7], D5,D6,D7,A2,A3,A4
00000956 47EE FEA2 lea.l A3, [A6 - 0x15E]
0000095A 286E 0008 movea.l A4, [A6 + 0x8]
0000095E 4247 clr.w D7
00000960 3A2C 00EC move.w D5, [A4 + 0xEC]
00000964 3C2C 00EA move.w D6, [A4 + 0xEA]
00000968 3D7C FFFF FFA4 move.w [A6 - 0x5C], 0xFFFF
0000096E 3D7C FFFF FFA2 move.w [A6 - 0x5E], 0xFFFF
00000974 2F0C move.l -[A7], A4
00000976 2F0B move.l -[A7], A3
00000978 A919 syscall GetWTitle
0000097A 486D FE5A pea.l [A5 - 0x1A6]
0000097E A851 syscall SetCursor
00000980 487A 022E pea.l [PC + 0x22E /* 00000BB0, value 0x4E56 'NV', cstring "" */]
00000984 2F0B move.l -[A7], A3
00000986 486E FFA6 pea.l [A6 - 0x5A]
0000098A 3F3C 0259 move.w -[A7], 0x259
0000098E 2F2E FFA2 move.l -[A7], [A6 - 0x5E]
00000992 487A FDF2 pea.l [PC - 0x20E /* 00000786, value 0x4E56FFF2 */]
00000996 487A FF70 pea.l [PC - 0x90 /* 00000908, value 0x4E560000 'NV\0\0', cstring "NV" */]
0000099A 7000 moveq.l D0, 0x00
0000099C 2F00 move.l -[A7], D0
0000099E 2F00 move.l -[A7], D0
000009A0 486E FFFF pea.l [A6 - 0x1]
000009A4 3F3C 0007 move.w -[A7], 0x7
000009A8 A9EA syscall Pack3
000009AA 4A2E FFA6 tst.b [A6 - 0x5A]
000009AE 6602 bne +0x4 /* 000009B2 */
000009B0 7E65 moveq.l D7, 0x65
label000009B2:
000009B2 4A2E FFA7 tst.b [A6 - 0x59]
000009B6 672A beq +0x2C /* 000009E2 */
000009B8 558F subq.l A7, 2
000009BA 486E FFAC pea.l [A6 - 0x54]
000009BE 486E FF96 pea.l [A6 - 0x6A]
000009C2 303C 0007 move.w D0, 0x7
000009C6 AA52 syscall HFSPinaforeDispatch/HighLevelFSDispatch
000009C8 0CAE 5445 5854 FF96 cmpi.l [A6 - 0x6A], 0x54455854 /* 'TEXT' */
000009D0 544F addq.w A7, 2
000009D2 670E beq +0x10 /* 000009E2 */
000009D4 0CAE 7345 5854 FF96 cmpi.l [A6 - 0x6A], 0x73455854 /* 'sEXT' */
000009DC 6704 beq +0x6 /* 000009E2 */
000009DE 3E3C 00C9 move.w D7, 0xC9
label000009E2:
000009E2 4A47 tst.w D7
000009E4 6600 0174 bne +0x176 /* 00000B5A */
000009E8 4A2E FFA7 tst.b [A6 - 0x59]
000009EC 6700 0086 beq +0x88 /* 00000A74 */
000009F0 0C46 FFFF cmpi.w D6, 0xFFFF
000009F4 677E beq +0x80 /* 00000A74 */
000009F6 302C 00A4 move.w D0, [A4 + 0xA4]
000009FA B06E FFAC cmp.w D0, [A6 - 0x54]
000009FE 6674 bne +0x76 /* 00000A74 */
00000A00 202C 00A6 move.l D0, [A4 + 0xA6]
00000A04 B0AE FFAE cmp.l D0, [A6 - 0x52]
00000A08 666A bne +0x6C /* 00000A74 */
00000A0A 558F subq.l A7, 2
00000A0C 486C 00AA pea.l [A4 + 0xAA]
00000A10 486E FFB2 pea.l [A6 - 0x4E]
00000A14 7000 moveq.l D0, 0x00
00000A16 1F00 move.b -[A7], D0
00000A18 1F00 move.b -[A7], D0
00000A1A 4EAD 00F2 jsr [A5 + 0xF2 /* export_26 */]
00000A1E 4A1F tst.b [A7]+
00000A20 6752 beq +0x54 /* 00000A74 */
00000A22 2F0C move.l -[A7], A4
00000A24 4EBA FA8A jsr [PC - 0x576 /* 000004B0 */]
00000A28 3E00 move.w D7, D0
00000A2A 584F addq.w A7, 4
00000A2C 6600 0162 bne +0x164 /* 00000B90 */
00000A30 558F subq.l A7, 2
00000A32 486E FFAC pea.l [A6 - 0x54]
00000A36 486E FE92 pea.l [A6 - 0x16E]
00000A3A 303C 0007 move.w D0, 0x7
00000A3E AA52 syscall HFSPinaforeDispatch/HighLevelFSDispatch
00000A40 2D7C 7474 7874 FE96 move.l [A6 - 0x16A], 0x74747874 /* 'ttxt' */
00000A48 4A2E FFFF tst.b [A6 - 0x1]
00000A4C 544F addq.w A7, 2
00000A4E 660E bne +0x10 /* 00000A5E */
00000A50 006E 0800 FE9A ori.w [A6 - 0x166], 0x800
00000A56 2D7C 7345 5854 FE92 move.l [A6 - 0x16E], 0x73455854 /* 'sEXT' */
label00000A5E:
00000A5E 558F subq.l A7, 2
00000A60 486E FFAC pea.l [A6 - 0x54]
00000A64 486E FE92 pea.l [A6 - 0x16E]
00000A68 303C 0008 move.w D0, 0x8
00000A6C AA52 syscall HFSPinaforeDispatch/HighLevelFSDispatch
00000A6E 544F addq.w A7, 2
00000A70 6000 011E bra +0x120 /* 00000B90 */
label00000A74:
00000A74 558F subq.l A7, 2
00000A76 486E FFAC pea.l [A6 - 0x54]
00000A7A 303C 0006 move.w D0, 0x6
00000A7E AA52 syscall HFSPinaforeDispatch/HighLevelFSDispatch
00000A80 558F subq.l A7, 2
00000A82 486E FFAC pea.l [A6 - 0x54]
00000A86 2F3C 7474 7874 move.l -[A7], 0x74747874 /* 'ttxt' */
00000A8C 4A2E FFFF tst.b [A6 - 0x1]
00000A90 6708 beq +0xA /* 00000A9A */
00000A92 203C 5445 5854 move.l D0, 0x54455854 /* 'TEXT' */
00000A98 6006 bra +0x8 /* 00000AA0 */
label00000A9A:
00000A9A 203C 7345 5854 move.l D0, 0x73455854 /* 'sEXT' */
label00000AA0:
00000AA0 2F00 move.l -[A7], D0
00000AA2 7000 moveq.l D0, 0x00
00000AA4 3F00 move.w -[A7], D0
00000AA6 303C 0004 move.w D0, 0x4
00000AAA AA52 syscall HFSPinaforeDispatch/HighLevelFSDispatch
00000AAC 3E1F move.w D7, [A7]+
00000AAE 486E FFAC pea.l [A6 - 0x54]
00000AB2 2F3C 7474 7874 move.l -[A7], 0x74747874 /* 'ttxt' */
00000AB8 4A2E FFFF tst.b [A6 - 0x1]
00000ABC 6708 beq +0xA /* 00000AC6 */
00000ABE 203C 5445 5854 move.l D0, 0x54455854 /* 'TEXT' */
00000AC4 6006 bra +0x8 /* 00000ACC */
label00000AC6:
00000AC6 203C 7345 5854 move.l D0, 0x73455854 /* 'sEXT' */
label00000ACC:
00000ACC 2F00 move.l -[A7], D0
00000ACE 7000 moveq.l D0, 0x00
00000AD0 3F00 move.w -[A7], D0
00000AD2 303C 000E move.w D0, 0xE
00000AD6 AA52 syscall HFSPinaforeDispatch/HighLevelFSDispatch
00000AD8 4A47 tst.w D7
00000ADA 544F addq.w A7, 2
00000ADC 667C bne +0x7E /* 00000B5A */
00000ADE 4A2E FFFF tst.b [A6 - 0x1]
00000AE2 6628 bne +0x2A /* 00000B0C */
00000AE4 558F subq.l A7, 2
00000AE6 486E FFAC pea.l [A6 - 0x54]
00000AEA 486E FE92 pea.l [A6 - 0x16E]
00000AEE 303C 0007 move.w D0, 0x7
00000AF2 AA52 syscall HFSPinaforeDispatch/HighLevelFSDispatch
00000AF4 006E 0800 FE9A ori.w [A6 - 0x166], 0x800
00000AFA 558F subq.l A7, 2
00000AFC 486E FFAC pea.l [A6 - 0x54]
00000B00 486E FE92 pea.l [A6 - 0x16E]
00000B04 303C 0008 move.w D0, 0x8
00000B08 AA52 syscall HFSPinaforeDispatch/HighLevelFSDispatch
00000B0A 584F addq.w A7, 4
label00000B0C:
00000B0C 558F subq.l A7, 2
00000B0E 486E FFAC pea.l [A6 - 0x54]
00000B12 7003 moveq.l D0, 0x03
00000B14 1F00 move.b -[A7], D0
00000B16 486C 00EA pea.l [A4 + 0xEA]
00000B1A 303C 0002 move.w D0, 0x2
00000B1E AA52 syscall HFSPinaforeDispatch/HighLevelFSDispatch
00000B20 3E1F move.w D7, [A7]+
00000B22 661A bne +0x1C /* 00000B3E */
00000B24 558F subq.l A7, 2
00000B26 486E FFAC pea.l [A6 - 0x54]
00000B2A 7003 moveq.l D0, 0x03
00000B2C 1F00 move.b -[A7], D0
00000B2E 303C 000D move.w D0, 0xD /* '\r' */
00000B32 AA52 syscall HFSPinaforeDispatch/HighLevelFSDispatch
00000B34 395F 00EC move.w [A4 + 0xEC], [A7]+
00000B38 558F subq.l A7, 2
00000B3A A9AF syscall ResError
00000B3C 3E1F move.w D7, [A7]+
label00000B3E:
00000B3E 4A47 tst.w D7
00000B40 660A bne +0xC /* 00000B4C */
00000B42 2F0C move.l -[A7], A4
00000B44 4EBA F96A jsr [PC - 0x696 /* 000004B0 */]
00000B48 3E00 move.w D7, D0
00000B4A 584F addq.w A7, 4
label00000B4C:
00000B4C 558F subq.l A7, 2
00000B4E 486E FFAC pea.l [A6 - 0x54]
00000B52 303C 0006 move.w D0, 0x6
00000B56 AA52 syscall HFSPinaforeDispatch/HighLevelFSDispatch
00000B58 544F addq.w A7, 2
label00000B5A:
00000B5A 4A47 tst.w D7
00000B5C 662A bne +0x2C /* 00000B88 */
00000B5E 0C45 FFFF cmpi.w D5, 0xFFFF
00000B62 6704 beq +0x6 /* 00000B68 */
00000B64 3F05 move.w -[A7], D5
00000B66 A99A syscall CloseResFile
label00000B68:
00000B68 0C46 FFFF cmpi.w D6, 0xFFFF
00000B6C 670A beq +0xC /* 00000B78 */
00000B6E 558F subq.l A7, 2
00000B70 3F06 move.w -[A7], D6
00000B72 4EAD 00FA jsr [A5 + 0xFA /* export_27 */]
00000B76 544F addq.w A7, 2
label00000B78:
00000B78 197C 0001 00F0 move.b [A4 + 0xF0], 0x1
00000B7E 2F0C move.l -[A7], A4
00000B80 486E FFB2 pea.l [A6 - 0x4E]
00000B84 A91A syscall SetWTitle
00000B86 6008 bra +0xA /* 00000B90 */
label00000B88:
00000B88 3945 00EC move.w [A4 + 0xEC], D5
00000B8C 3946 00EA move.w [A4 + 0xEA], D6
label00000B90:
00000B90 4A47 tst.w D7
00000B92 6610 bne +0x12 /* 00000BA4 */
00000B94 43EE FFAC lea.l A1, [A6 - 0x54]
00000B98 2049 movea.l A0, A1
00000B9A 45EC 00A4 lea.l A2, [A4 + 0xA4]
00000B9E 224A movea.l A1, A2
00000BA0 7046 moveq.l D0, 0x46
00000BA2 A02E syscall BlockMove/BlockMoveData
label00000BA4:
00000BA4 3007 move.w D0, D7
00000BA6 4CEE 1CE0 FE7A movem.l D5,D6,D7,A2,A3,A4, [A6 - 0x186]
00000BAC 4E5E unlink A6
00000BAE 4E75 rts
00000BB0 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000BB2-00000BB6
fn00000BB2:
00000BB2 4E56 FFF4 link A6, -0x000C
// end alternate branch 00000BB2-00000BB6
fn00000BB2: // (misaligned)
00000BB4 FFF4 .invalid <<F/7/7>>
00000BB6 48E7 1308 movem.l -[A7], D3,D6,D7,A4
00000BBA 3C2E 000A move.w D6, [A6 + 0xA]
00000BBE 286E 000C movea.l A4, [A6 + 0xC]
00000BC2 206C 0170 movea.l A0, [A4 + 0x170]
00000BC6 2050 movea.l A0, [A0]
00000BC8 3E28 005E move.w D7, [A0 + 0x5E]
00000BCC 1D46 FFF6 move.b [A6 - 0xA], D6
00000BD0 4A46 tst.w D6
00000BD2 56C3 sne D3
00000BD4 4403 neg.b D3
00000BD6 6704 beq +0x6 /* 00000BDC */
00000BD8 7020 moveq.l D0, 0x20
00000BDA 6002 bra +0x4 /* 00000BDE */
label00000BDC:
00000BDC 7000 moveq.l D0, 0x00
label00000BDE:
00000BDE 5400 addq.b D0, 2
00000BE0 4880 ext.w D0
00000BE2 3F00 move.w -[A7], D0
00000BE4 486E FFF4 pea.l [A6 - 0xC]
00000BE8 7001 moveq.l D0, 0x01
00000BEA 1F00 move.b -[A7], D0
00000BEC 2F2C 0170 move.l -[A7], [A4 + 0x170]
00000BF0 3F3C 0001 move.w -[A7], 0x1
00000BF4 A83D syscall TEDispatch
00000BF6 2F2C 0170 move.l -[A7], [A4 + 0x170]
00000BFA A9D0 syscall TECalText
00000BFC 206C 0170 movea.l A0, [A4 + 0x170]
00000C00 2050 movea.l A0, [A0]
00000C02 9E68 005E sub.w D7, [A0 + 0x5E]
00000C06 7000 moveq.l D0, 0x00
00000C08 2F00 move.l -[A7], D0
00000C0A 2F0C move.l -[A7], A4
00000C0C 4EBA F45A jsr [PC - 0xBA6 /* 00000068 */]
00000C10 7000 moveq.l D0, 0x00
00000C12 2F00 move.l -[A7], D0
00000C14 4A47 tst.w D7
00000C16 5EC3 sgt D3
00000C18 4403 neg.b D3
00000C1A 4883 ext.w D3
00000C1C 48C3 ext.l D3
00000C1E 2F03 move.l -[A7], D3
00000C20 4A47 tst.w D7
00000C22 5EC3 sgt D3
00000C24 4403 neg.b D3
00000C26 4883 ext.w D3
00000C28 48C3 ext.l D3
00000C2A 2F03 move.l -[A7], D3
00000C2C 2F0C move.l -[A7], A4
00000C2E 4EAD 0042 jsr [A5 + 0x42 /* export_4 */]
00000C32 197C 0001 00F3 move.b [A4 + 0xF3], 0x1
00000C38 4FEF 0018 lea.l A7, [A7 + 0x18]
00000C3C 4CEE 10C8 FFE4 movem.l D3,D6,D7,A4, [A6 - 0x1C]
00000C42 4E5E unlink A6
00000C44 4E75 rts
fn00000C46:
00000C46 4E56 FFF4 link A6, -0x000C
00000C4A 48E7 1308 movem.l -[A7], D3,D6,D7,A4
00000C4E 286E 000C movea.l A4, [A6 + 0xC]
00000C52 4246 clr.w D6
00000C54 206C 0170 movea.l A0, [A4 + 0x170]
00000C58 2050 movea.l A0, [A0]
00000C5A 3E28 005E move.w D7, [A0 + 0x5E]
00000C5E 3D6E 000A FFF8 move.w [A6 - 0x8], [A6 + 0xA]
00000C64 7004 moveq.l D0, 0x04
00000C66 3F00 move.w -[A7], D0
00000C68 486E FFF4 pea.l [A6 - 0xC]
00000C6C 7201 moveq.l D1, 0x01
00000C6E 1F01 move.b -[A7], D1
00000C70 2F2C 0170 move.l -[A7], [A4 + 0x170]
00000C74 3F3C 0001 move.w -[A7], 0x1
00000C78 A83D syscall TEDispatch
00000C7A 2F2C 0170 move.l -[A7], [A4 + 0x170]
00000C7E A9D0 syscall TECalText
00000C80 2F2C 0170 move.l -[A7], [A4 + 0x170]
00000C84 4EBA F37A jsr [PC - 0xC86 /* 00000000 */]
00000C88 0C80 0000 7FFF cmpi.l D0, 0x7FFF
00000C8E 584F addq.w A7, 4
00000C90 6F1E ble +0x20 /* 00000CB0 */
00000C92 426E FFF8 clr.w [A6 - 0x8]
00000C96 7004 moveq.l D0, 0x04
00000C98 3F00 move.w -[A7], D0
00000C9A 486E FFF4 pea.l [A6 - 0xC]
00000C9E 7201 moveq.l D1, 0x01
00000CA0 1F01 move.b -[A7], D1
00000CA2 2F2C 0170 move.l -[A7], [A4 + 0x170]
00000CA6 3F3C 0001 move.w -[A7], 0x1
00000CAA A83D syscall TEDispatch
00000CAC 3C3C 00C8 move.w D6, 0xC8
label00000CB0:
00000CB0 206C 0170 movea.l A0, [A4 + 0x170]
00000CB4 2050 movea.l A0, [A0]
00000CB6 9E68 005E sub.w D7, [A0 + 0x5E]
00000CBA 7000 moveq.l D0, 0x00
00000CBC 2F00 move.l -[A7], D0
00000CBE 2F0C move.l -[A7], A4
00000CC0 4EBA F3A6 jsr [PC - 0xC5A /* 00000068 */]
00000CC4 7000 moveq.l D0, 0x00
00000CC6 2F00 move.l -[A7], D0
00000CC8 4A47 tst.w D7
00000CCA 5EC3 sgt D3
00000CCC 4403 neg.b D3
00000CCE 4883 ext.w D3
00000CD0 48C3 ext.l D3
00000CD2 2F03 move.l -[A7], D3
00000CD4 4A47 tst.w D7
00000CD6 5EC3 sgt D3
00000CD8 4403 neg.b D3
00000CDA 4883 ext.w D3
00000CDC 48C3 ext.l D3
00000CDE 2F03 move.l -[A7], D3
00000CE0 2F0C move.l -[A7], A4
00000CE2 4EAD 0042 jsr [A5 + 0x42 /* export_4 */]
00000CE6 197C 0001 00F3 move.b [A4 + 0xF3], 0x1
00000CEC 3006 move.w D0, D6
00000CEE 4FEF 0018 lea.l A7, [A7 + 0x18]
00000CF2 4CEE 10C8 FFE4 movem.l D3,D6,D7,A4, [A6 - 0x1C]
00000CF8 4E5E unlink A6
00000CFA 4E75 rts
00000CFC 4E56 FFF8 link A6, -0x0008
00000D00 48E7 0018 movem.l -[A7], A3,A4
00000D04 266E 0008 movea.l A3, [A6 + 0x8]
00000D08 286E 000C movea.l A4, [A6 + 0xC]
00000D0C 41EE FFF8 lea.l A0, [A6 - 0x8]
00000D10 43EC 014E lea.l A1, [A4 + 0x14E]
00000D14 20D9 move.l [A0]+, [A1]+
00000D16 20D9 move.l [A0]+, [A1]+
00000D18 3D6B 0014 FFFC move.w [A6 - 0x4], [A3 + 0x14]
00000D1E 486E FFF8 pea.l [A6 - 0x8]
00000D22 A8A3 syscall EraseRect
00000D24 486C 014E pea.l [A4 + 0x14E]
00000D28 2F2C 0170 move.l -[A7], [A4 + 0x170]
00000D2C A9D3 syscall TEUpdate
00000D2E 2F2C 0170 move.l -[A7], [A4 + 0x170]
00000D32 2F0C move.l -[A7], A4
00000D34 4EBA F612 jsr [PC - 0x9EE /* 00000348 */]
00000D38 2F0B move.l -[A7], A3
00000D3A A969 syscall DrawControls
00000D3C 2F0B move.l -[A7], A3
00000D3E A904 syscall DrawGrowIcon
00000D40 7000 moveq.l D0, 0x00
00000D42 4CEE 1800 FFF0 movem.l A3,A4, [A6 - 0x10]
00000D48 4E5E unlink A6
00000D4A 4E75 rts
00000D4C 4E56 0000 link A6, 0
00000D50 2F0C move.l -[A7], A4
00000D52 286E 000C movea.l A4, [A6 + 0xC]
00000D56 4AAC 0166 tst.l [A4 + 0x166]
00000D5A 6726 beq +0x28 /* 00000D82 */
00000D5C 558F subq.l A7, 2
00000D5E 2F2C 0166 move.l -[A7], [A4 + 0x166]
00000D62 303C 0007 move.w D0, 0x7
00000D66 AA54 syscall TextServicesDispatch
00000D68 558F subq.l A7, 2
00000D6A 2F2C 0166 move.l -[A7], [A4 + 0x166]
00000D6E 303C 0003 move.w D0, 0x3
00000D72 AA54 syscall TextServicesDispatch
00000D74 558F subq.l A7, 2
00000D76 2F2C 0166 move.l -[A7], [A4 + 0x166]
00000D7A 303C 0001 move.w D0, 0x1
00000D7E AA54 syscall TextServicesDispatch
00000D80 5C4F addq.w A7, 6
label00000D82:
00000D82 7001 moveq.l D0, 0x01
00000D84 2F00 move.l -[A7], D0
00000D86 4EBA F4BE jsr [PC - 0xB42 /* 00000246 */]
00000D8A 206C 0174 movea.l A0, [A4 + 0x174]
00000D8E A023 syscall DisposHandle/DisposeHandle
00000D90 2F2C 0170 move.l -[A7], [A4 + 0x170]
00000D94 A9CD syscall TEDispose
00000D96 7000 moveq.l D0, 0x00
00000D98 584F addq.w A7, 4
00000D9A 286E FFFC movea.l A4, [A6 - 0x4]
00000D9E 4E5E unlink A6
00000DA0 4E75 rts
00000DA2 4E56 0000 link A6, 0
00000DA6 2F0C move.l -[A7], A4
00000DA8 286E 000C movea.l A4, [A6 + 0xC]
00000DAC 0CAC 5445 5854 00A0 cmpi.l [A4 + 0xA0], 0x54455854 /* 'TEXT' */
00000DB4 663C bne +0x3E /* 00000DF2 */
00000DB6 4A2E 0013 tst.b [A6 + 0x13]
00000DBA 671C beq +0x1E /* 00000DD8 */
00000DBC 2F2C 0170 move.l -[A7], [A4 + 0x170]
00000DC0 A9D8 syscall TEActivate
00000DC2 4AAC 0166 tst.l [A4 + 0x166]
00000DC6 672A beq +0x2C /* 00000DF2 */
00000DC8 558F subq.l A7, 2
00000DCA 2F2C 0166 move.l -[A7], [A4 + 0x166]
00000DCE 303C 0002 move.w D0, 0x2
00000DD2 AA54 syscall TextServicesDispatch
00000DD4 544F addq.w A7, 2
00000DD6 601A bra +0x1C /* 00000DF2 */
label00000DD8:
00000DD8 2F2C 0170 move.l -[A7], [A4 + 0x170]
00000DDC A9D9 syscall TEDeactivate
00000DDE 4AAC 0166 tst.l [A4 + 0x166]
00000DE2 670E beq +0x10 /* 00000DF2 */
00000DE4 558F subq.l A7, 2
00000DE6 2F2C 0166 move.l -[A7], [A4 + 0x166]
00000DEA 303C 0003 move.w D0, 0x3
00000DEE AA54 syscall TextServicesDispatch
00000DF0 544F addq.w A7, 2
label00000DF2:
00000DF2 7000 moveq.l D0, 0x00
00000DF4 286E FFFC movea.l A4, [A6 - 0x4]
00000DF8 4E5E unlink A6
00000DFA 4E75 rts
00000DFC 4E56 FFF8 link A6, -0x0008
00000E00 2F0C move.l -[A7], A4
00000E02 286E 000C movea.l A4, [A6 + 0xC]
00000E06 206E 0010 movea.l A0, [A6 + 0x10]
00000E0A 3010 move.w D0, [A0]
00000E0C 664E bne +0x50 /* 00000E5C */
00000E0E 0CAC 5445 5854 00A0 cmpi.l [A4 + 0xA0], 0x54455854 /* 'TEXT' */
00000E16 6612 bne +0x14 /* 00000E2A */
00000E18 598F subq.l A7, 4
00000E1A A924 syscall FrontWindow
00000E1C 202E 0008 move.l D0, [A6 + 0x8]
00000E20 B09F cmp.l D0, [A7]+
00000E22 6606 bne +0x8 /* 00000E2A */
00000E24 2F2C 0170 move.l -[A7], [A4 + 0x170]
00000E28 A9DA syscall TEIdle
label00000E2A:
00000E2A 4AAD F274 tst.l [A5 - 0xD8C]
00000E2E 672C beq +0x2E /* 00000E5C */
00000E30 558F subq.l A7, 2
00000E32 2F2D F274 move.l -[A7], [A5 - 0xD8C]
00000E36 2F3C 7374 6174 move.l -[A7], 0x73746174 /* 'stat' */
00000E3C 486E FFF8 pea.l [A6 - 0x8]
00000E40 203C 0658 000C move.l D0, 0x658000C
00000E46 A800 syscall SoundDispatch
00000E48 4A5F tst.w [A7]+
00000E4A 6610 bne +0x12 /* 00000E5C */
00000E4C 4A2E FFF8 tst.b [A6 - 0x8]
00000E50 660A bne +0xC /* 00000E5C */
00000E52 7001 moveq.l D0, 0x01
00000E54 2F00 move.l -[A7], D0
00000E56 4EBA F3EE jsr [PC - 0xC12 /* 00000246 */]
00000E5A 584F addq.w A7, 4
label00000E5C:
00000E5C 7000 moveq.l D0, 0x00
00000E5E 286E FFF4 movea.l A4, [A6 - 0xC]
00000E62 4E5E unlink A6
00000E64 4E75 rts
00000E66 4E56 0000 link A6, 0
00000E6A 2F0C move.l -[A7], A4
00000E6C 286E 000C movea.l A4, [A6 + 0xC]
00000E70 3F2E 0012 move.w -[A7], [A6 + 0x12]
00000E74 3F2E 0016 move.w -[A7], [A6 + 0x16]
00000E78 2F2C 0170 move.l -[A7], [A4 + 0x170]
00000E7C A9DD syscall TEScroll
00000E7E 2F2C 0170 move.l -[A7], [A4 + 0x170]
00000E82 2F0C move.l -[A7], A4
00000E84 4EBA F4C2 jsr [PC - 0xB3E /* 00000348 */]
00000E88 7064 moveq.l D0, 0x64
00000E8A 286E FFFC movea.l A4, [A6 - 0x4]
00000E8E 4E5E unlink A6
00000E90 4E75 rts
00000E92 4E56 0000 link A6, 0
00000E96 48E7 1F18 movem.l -[A7], D3,D4,D5,D6,D7,A3,A4
00000E9A 266E 0008 movea.l A3, [A6 + 0x8]
00000E9E 286E 000C movea.l A4, [A6 + 0xC]
00000EA2 4246 clr.w D6
00000EA4 206E 0010 movea.l A0, [A6 + 0x10]
00000EA8 303C 0100 move.w D0, 0x100
00000EAC C068 000E and.w D0, [A0 + 0xE]
00000EB0 6600 0108 bne +0x10A /* 00000FBA */
00000EB4 283C 0000 00FF move.l D4, 0xFF
00000EBA C8A8 0002 and.l D4, [A0 + 0x2]
00000EBE 2028 0002 move.l D0, [A0 + 0x2]
00000EC2 E080 asr D0, 8
00000EC4 2A3C 0000 00FF move.l D5, 0xFF
00000ECA CA80 and.l D5, D0
00000ECC 0C04 0008 cmpi.b D4, 0x8
00000ED0 6606 bne +0x8 /* 00000ED8 */
00000ED2 0C05 0075 cmpi.b D5, 0x75 /* 'u' */
00000ED6 671E beq +0x20 /* 00000EF6 */
label00000ED8:
00000ED8 206C 0170 movea.l A0, [A4 + 0x170]
00000EDC 2050 movea.l A0, [A0]
00000EDE 3028 003C move.w D0, [A0 + 0x3C]
00000EE2 48C0 ext.l D0
00000EE4 5280 addq.l D0, 1
00000EE6 0C80 0000 7C00 cmpi.l D0, 0x7C00 /* '|\0' */
00000EEC 6F08 ble +0xA /* 00000EF6 */
00000EEE 3C3C 00C8 move.w D6, 0xC8
00000EF2 6000 00C6 bra +0xC8 /* 00000FBA */
label00000EF6:
00000EF6 206C 0170 movea.l A0, [A4 + 0x170]
00000EFA 2050 movea.l A0, [A0]
00000EFC 3E28 005E move.w D7, [A0 + 0x5E]
00000F00 A856 syscall ObscureCursor
00000F02 0C05 0075 cmpi.b D5, 0x75 /* 'u' */
00000F06 670C beq +0xE /* 00000F14 */
00000F08 4884 ext.w D4
00000F0A 3F04 move.w -[A7], D4
00000F0C 2F2C 0170 move.l -[A7], [A4 + 0x170]
00000F10 A9DC syscall TEKey
00000F12 6056 bra +0x58 /* 00000F6A */
label00000F14:
00000F14 206C 0170 movea.l A0, [A4 + 0x170]
00000F18 2050 movea.l A0, [A0]
00000F1A 226C 0170 movea.l A1, [A4 + 0x170]
00000F1E 2251 movea.l A1, [A1]
00000F20 3028 0020 move.w D0, [A0 + 0x20]
00000F24 B069 0022 cmp.w D0, [A1 + 0x22]
00000F28 663A bne +0x3C /* 00000F64 */
00000F2A 206C 0170 movea.l A0, [A4 + 0x170]
00000F2E 2050 movea.l A0, [A0]
00000F30 226C 0170 movea.l A1, [A4 + 0x170]
00000F34 2251 movea.l A1, [A1]
00000F36 3028 0022 move.w D0, [A0 + 0x22]
00000F3A B069 003C cmp.w D0, [A1 + 0x3C]
00000F3E 6C24 bge +0x26 /* 00000F64 */
00000F40 206C 0170 movea.l A0, [A4 + 0x170]
00000F44 2050 movea.l A0, [A0]
00000F46 3028 0020 move.w D0, [A0 + 0x20]
00000F4A 48C0 ext.l D0
00000F4C 2F00 move.l -[A7], D0
00000F4E 206C 0170 movea.l A0, [A4 + 0x170]
00000F52 2050 movea.l A0, [A0]
00000F54 3028 0022 move.w D0, [A0 + 0x22]
00000F58 48C0 ext.l D0
00000F5A 5280 addq.l D0, 1
00000F5C 2F00 move.l -[A7], D0
00000F5E 2F2C 0170 move.l -[A7], [A4 + 0x170]
00000F62 A9D1 syscall TESetSelect
label00000F64:
00000F64 2F2C 0170 move.l -[A7], [A4 + 0x170]
00000F68 A9D7 syscall TEDelete
label00000F6A:
00000F6A 206C 0170 movea.l A0, [A4 + 0x170]
00000F6E 2050 movea.l A0, [A0]
00000F70 9E68 005E sub.w D7, [A0 + 0x5E]
00000F74 177C 0001 016A move.b [A3 + 0x16A], 0x1
00000F7A 7000 moveq.l D0, 0x00
00000F7C 2F00 move.l -[A7], D0
00000F7E 2F0C move.l -[A7], A4
00000F80 4EBA F0E6 jsr [PC - 0xF1A /* 00000068 */]
00000F84 7000 moveq.l D0, 0x00
00000F86 2F00 move.l -[A7], D0
00000F88 4A47 tst.w D7
00000F8A 5EC3 sgt D3
00000F8C 4403 neg.b D3
00000F8E 4883 ext.w D3
00000F90 48C3 ext.l D3
00000F92 2F03 move.l -[A7], D3
00000F94 4A47 tst.w D7
00000F96 5EC3 sgt D3
00000F98 4403 neg.b D3
00000F9A 4883 ext.w D3
00000F9C 48C3 ext.l D3
00000F9E 2F03 move.l -[A7], D3
00000FA0 2F0B move.l -[A7], A3
00000FA2 4EAD 0042 jsr [A5 + 0x42 /* export_4 */]
00000FA6 422B 016A clr.b [A3 + 0x16A]
00000FAA 4A2E 0017 tst.b [A6 + 0x17]
00000FAE 4FEF 0018 lea.l A7, [A7 + 0x18]
00000FB2 6606 bne +0x8 /* 00000FBA */
00000FB4 197C 0001 00F3 move.b [A4 + 0xF3], 0x1
label00000FBA:
00000FBA 3006 move.w D0, D6
00000FBC 4CEE 18F8 FFE4 movem.l D3,D4,D5,D6,D7,A3,A4, [A6 - 0x1C]
00000FC2 4E5E unlink A6
00000FC4 4E75 rts
00000FC6 4E56 FFF8 link A6, -0x0008
00000FCA 48E7 1118 movem.l -[A7], D3,D7,A3,A4
00000FCE 266E 000C movea.l A3, [A6 + 0xC]
00000FD2 4247 clr.w D7
00000FD4 206E 0010 movea.l A0, [A6 + 0x10]
00000FD8 2D68 000A FFF8 move.l [A6 - 0x8], [A0 + 0xA]
00000FDE 486E FFF8 pea.l [A6 - 0x8]
00000FE2 A871 syscall GlobalToLocal
00000FE4 558F subq.l A7, 2
00000FE6 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00000FEA 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000FEE 486E FFFC pea.l [A6 - 0x4]
00000FF2 A96C syscall FindControl
00000FF4 4A5F tst.w [A7]+
00000FF6 6650 bne +0x52 /* 00001048 */
00000FF8 4A2D F17C tst.b [A5 - 0xE84]
00000FFC 6748 beq +0x4A /* 00001046 */
00000FFE 598F subq.l A7, 4
00001000 A8D8 syscall NewRgn
00001002 285F movea.l A4, [A7]+
00001004 558F subq.l A7, 2
00001006 2F0C move.l -[A7], A4
00001008 2F2B 0170 move.l -[A7], [A3 + 0x170]
0000100C 3F3C 000F move.w -[A7], 0xF
00001010 A83D syscall TEDispatch
00001012 558F subq.l A7, 2
00001014 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00001018 2F0C move.l -[A7], A4
0000101A A8E8 syscall PtInRgn
0000101C 4A1F tst.b [A7]+
0000101E 544F addq.w A7, 2
00001020 671C beq +0x1E /* 0000103E */
00001022 2F0C move.l -[A7], A4
00001024 2F2E 0010 move.l -[A7], [A6 + 0x10]
00001028 2F0B move.l -[A7], A3
0000102A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000102E 4EBA 1FCC jsr [PC + 0x1FCC /* 00002FFC */]
00001032 4A00 tst.b D0
00001034 4FEF 0010 lea.l A7, [A7 + 0x10]
00001038 6606 bne +0x8 /* 00001040 */
0000103A 7E64 moveq.l D7, 0x64
0000103C 6002 bra +0x4 /* 00001040 */
label0000103E:
0000103E 7E64 moveq.l D7, 0x64
label00001040:
00001040 2F0C move.l -[A7], A4
00001042 A8D9 syscall DisposRgn/DisposeRgn
00001044 6002 bra +0x4 /* 00001048 */
label00001046:
00001046 7E64 moveq.l D7, 0x64
label00001048:
00001048 0C47 0064 cmpi.w D7, 0x64 /* 'd' */
0000104C 6632 bne +0x34 /* 00001080 */
0000104E 558F subq.l A7, 2
00001050 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00001054 486B 014E pea.l [A3 + 0x14E]
00001058 A8AD syscall PtInRect
0000105A 4A1F tst.b [A7]+
0000105C 6722 beq +0x24 /* 00001080 */
0000105E 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00001062 206E 0010 movea.l A0, [A6 + 0x10]
00001066 303C 0200 move.w D0, 0x200
0000106A C068 000E and.w D0, [A0 + 0xE]
0000106E 7200 moveq.l D1, 0x00
00001070 3200 move.w D1, D0
00001072 4A81 tst.l D1
00001074 56C3 sne D3
00001076 4403 neg.b D3
00001078 1F03 move.b -[A7], D3
0000107A 2F2B 0170 move.l -[A7], [A3 + 0x170]
0000107E A9D4 syscall TEClick
label00001080:
00001080 3007 move.w D0, D7
00001082 4CEE 1888 FFE8 movem.l D3,D7,A3,A4, [A6 - 0x18]
00001088 4E5E unlink A6
0000108A 4E75 rts
0000108C 4E56 0000 link A6, 0
00001090 2F0C move.l -[A7], A4
00001092 286E 000C movea.l A4, [A6 + 0xC]
00001096 206E 0010 movea.l A0, [A6 + 0x10]
0000109A 4A10 tst.b [A0]
0000109C 671A beq +0x1C /* 000010B8 */
0000109E 7001 moveq.l D0, 0x01
000010A0 2F00 move.l -[A7], D0
000010A2 2F0C move.l -[A7], A4
000010A4 4EBA F02C jsr [PC - 0xFD4 /* 000000D2 */]
000010A8 7001 moveq.l D0, 0x01
000010AA 2F00 move.l -[A7], D0
000010AC 2F0C move.l -[A7], A4
000010AE 4EBA EFB8 jsr [PC - 0x1048 /* 00000068 */]
000010B2 4FEF 0010 lea.l A7, [A7 + 0x10]
000010B6 600C bra +0xE /* 000010C4 */
label000010B8:
000010B8 7000 moveq.l D0, 0x00
000010BA 2F00 move.l -[A7], D0
000010BC 2F0C move.l -[A7], A4
000010BE 4EBA EFA8 jsr [PC - 0x1058 /* 00000068 */]
000010C2 504F addq.w A7, 8
label000010C4:
000010C4 7000 moveq.l D0, 0x00
000010C6 286E FFFC movea.l A4, [A6 - 0x4]
000010CA 4E5E unlink A6
000010CC 4E75 rts
000010CE 4E56 FD80 link A6, -0x0280
000010D2 48E7 1F38 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4
000010D6 2E2E 0014 move.l D7, [A6 + 0x14]
000010DA 266E 0008 movea.l A3, [A6 + 0x8]
000010DE 286E 000C movea.l A4, [A6 + 0xC]
000010E2 4246 clr.w D6
000010E4 2F0B move.l -[A7], A3
000010E6 A873 syscall SetPort
000010E8 4AAC 0166 tst.l [A4 + 0x166]
000010EC 6712 beq +0x14 /* 00001100 */
000010EE 4A87 tst.l D7
000010F0 670E beq +0x10 /* 00001100 */
000010F2 558F subq.l A7, 2
000010F4 2F2C 0166 move.l -[A7], [A4 + 0x166]
000010F8 303C 0007 move.w D0, 0x7
000010FC AA54 syscall TextServicesDispatch
000010FE 544F addq.w A7, 2
label00001100:
00001100 302E 0012 move.w D0, [A6 + 0x12]
00001104 0440 000D subi.w D0, 0xD /* '\r' */
00001108 6B00 0652 bmi +0x654 /* 0000175C */
0000110C 0C40 0035 cmpi.w D0, 0x35 /* '5' */
00001110 6E00 064A bgt +0x64C /* 0000175C */
00001114 D040 add.w D0, D0
00001116 303B 0006 move.w D0, [PC + D0.w + 0x6]
0000111A 4EFB 0000 jmp [PC + D0.w]
0000111E 024E 0280 andi.w A6, 0x280
00001122 0640 0640 addi.w D0, 0x640
00001126 0640 0640 addi.w D0, 0x640
0000112A 0640 0640 addi.w D0, 0x640
0000112E 006E 00C2 012C ori.w [A6 + 0x12C], 0xC2
00001134 00D8 .incomplete
00001136 0214 0640 andi.b [A4], 0x40 /* '@' */
0000113A 0640 0640 addi.w D0, 0x640
0000113E 0640 028E addi.w D0, 0x28E
00001142 0640 0640 addi.w D0, 0x640
00001146 0640 0640 addi.w D0, 0x640
0000114A 0640 0640 addi.w D0, 0x640
0000114E 0640 0640 addi.w D0, 0x640
00001152 0640 039E addi.w D0, 0x39E
00001156 03B0 03C2 03D4 bclr [[ + <<invalid base displacement size>>] + 0x3D4], D1
0000115C 03E6 .incomplete
0000115E 03F8 .incomplete
00001160 040A 0640 subi.b A2, 0x40 /* '@' */
00001164 0640 0640 addi.w D0, 0x640
00001168 031E btst [A6]+, D1
0000116A 032E 033E btst [A6 + 0x33E], D1
0000116E 034E bchg A6, D1
00001170 035E bchg [A6]+, D1
00001172 036E 037E bchg [A6 + 0x37E], D1
00001176 038E bclr A6, D1
00001178 0640 0640 addi.w D0, 0x640
0000117C 041C 04A4 subi.b [A4]+, 0xA4
00001180 04C2 .incomplete
00001182 04D8 .incomplete
00001184 0582 bclr D2, D2
00001186 0640 0590 addi.w D0, 0x590
0000118A 206C 0170 movea.l A0, [A4 + 0x170]
0000118E 2050 movea.l A0, [A0]
00001190 3A28 005E move.w D5, [A0 + 0x5E]
00001194 2F2C 0170 move.l -[A7], [A4 + 0x170]
00001198 A9D6 syscall TECut
0000119A 206C 0170 movea.l A0, [A4 + 0x170]
0000119E 2050 movea.l A0, [A0]
000011A0 9A68 005E sub.w D5, [A0 + 0x5E]
000011A4 7000 moveq.l D0, 0x00
000011A6 2F00 move.l -[A7], D0
000011A8 2F0C move.l -[A7], A4
000011AA 4EBA EEBC jsr [PC - 0x1144 /* 00000068 */]
000011AE 7000 moveq.l D0, 0x00
000011B0 2F00 move.l -[A7], D0
000011B2 4A45 tst.w D5
000011B4 5EC3 sgt D3
000011B6 4403 neg.b D3
000011B8 4883 ext.w D3
000011BA 48C3 ext.l D3
000011BC 2F03 move.l -[A7], D3
000011BE 4A45 tst.w D5
000011C0 5EC3 sgt D3
000011C2 4403 neg.b D3
000011C4 4883 ext.w D3
000011C6 48C3 ext.l D3
000011C8 2F03 move.l -[A7], D3
000011CA 2F0B move.l -[A7], A3
000011CC 4EAD 0042 jsr [A5 + 0x42 /* export_4 */]
000011D0 197C 0001 00F3 move.b [A4 + 0xF3], 0x1
000011D6 4FEF 0018 lea.l A7, [A7 + 0x18]
000011DA 6000 0580 bra +0x582 /* 0000175C */
000011DE 2F2C 0170 move.l -[A7], [A4 + 0x170]
000011E2 A9D5 syscall TECopy
000011E4 7000 moveq.l D0, 0x00
000011E6 2F00 move.l -[A7], D0
000011E8 2F0C move.l -[A7], A4
000011EA 4EBA EE7C jsr [PC - 0x1184 /* 00000068 */]
000011EE 504F addq.w A7, 8
000011F0 6000 056A bra +0x56C /* 0000175C */
000011F4 206C 0170 movea.l A0, [A4 + 0x170]
000011F8 2050 movea.l A0, [A0]
000011FA 3A28 005E move.w D5, [A0 + 0x5E]
000011FE 2F2C 0170 move.l -[A7], [A4 + 0x170]
00001202 A9D7 syscall TEDelete
00001204 206C 0170 movea.l A0, [A4 + 0x170]
00001208 2050 movea.l A0, [A0]
0000120A 9A68 005E sub.w D5, [A0 + 0x5E]
0000120E 7000 moveq.l D0, 0x00
00001210 2F00 move.l -[A7], D0
00001212 2F0C move.l -[A7], A4
00001214 4EBA EE52 jsr [PC - 0x11AE /* 00000068 */]
00001218 7000 moveq.l D0, 0x00
0000121A 2F00 move.l -[A7], D0
0000121C 4A45 tst.w D5
0000121E 5EC3 sgt D3
00001220 4403 neg.b D3
00001222 4883 ext.w D3
00001224 48C3 ext.l D3
00001226 2F03 move.l -[A7], D3
00001228 4A45 tst.w D5
0000122A 5EC3 sgt D3
0000122C 4403 neg.b D3
0000122E 4883 ext.w D3
00001230 48C3 ext.l D3
00001232 2F03 move.l -[A7], D3
00001234 2F0B move.l -[A7], A3
00001236 4EAD 0042 jsr [A5 + 0x42 /* export_4 */]
0000123A 197C 0001 00F3 move.b [A4 + 0xF3], 0x1
00001240 4FEF 0018 lea.l A7, [A7 + 0x18]
00001244 6000 0516 bra +0x518 /* 0000175C */
00001248 206C 0170 movea.l A0, [A4 + 0x170]
0000124C 2050 movea.l A0, [A0]
0000124E 3A28 005E move.w D5, [A0 + 0x5E]
00001252 558F subq.l A7, 2
00001254 4EAD 013A jsr [A5 + 0x13A /* export_35 */]
00001258 3C1F move.w D6, [A7]+
0000125A 6600 0090 bne +0x92 /* 000012EC */
0000125E 206C 0170 movea.l A0, [A4 + 0x170]
00001262 2050 movea.l A0, [A0]
00001264 3028 003C move.w D0, [A0 + 0x3C]
00001268 48C0 ext.l D0
0000126A 7200 moveq.l D1, 0x00
0000126C 3238 0AB0 move.w D1, [0x00000AB0 /* TEScrpLength */]
00001270 D280 add.l D1, D0
00001272 206C 0170 movea.l A0, [A4 + 0x170]
00001276 2050 movea.l A0, [A0]
00001278 3028 0022 move.w D0, [A0 + 0x22]
0000127C 48C0 ext.l D0
0000127E 206C 0170 movea.l A0, [A4 + 0x170]
00001282 2050 movea.l A0, [A0]
00001284 3428 0020 move.w D2, [A0 + 0x20]
00001288 48C2 ext.l D2
0000128A 9082 sub.l D0, D2
0000128C 9280 sub.l D1, D0
0000128E 0C81 0000 7C00 cmpi.l D1, 0x7C00 /* '|\0' */
00001294 6F06 ble +0x8 /* 0000129C */
00001296 3C3C 00C8 move.w D6, 0xC8
0000129A 604A bra +0x4C /* 000012E6 */
label0000129C:
0000129C 598F subq.l A7, 4
0000129E 2F2C 0170 move.l -[A7], [A4 + 0x170]
000012A2 A9CB syscall TEGetText
000012A4 245F movea.l A2, [A7]+
000012A6 598F subq.l A7, 4
000012A8 2F0A move.l -[A7], A2
000012AA 4EAD 00EA jsr [A5 + 0xEA /* export_25 */]
000012AE 281F move.l D4, [A7]+
000012B0 7000 moveq.l D0, 0x00
000012B2 3038 0AB0 move.w D0, [0x00000AB0 /* TEScrpLength */]
000012B6 D084 add.l D0, D4
000012B8 2D40 FD84 move.l [A6 - 0x27C], D0
000012BC 204A movea.l A0, A2
000012BE 202E FD84 move.l D0, [A6 - 0x27C]
000012C2 A024 syscall SetHandleSize
000012C4 3D78 0220 FD88 move.w [A6 - 0x278], [0x00000220 /* MemErr */]
000012CA 204A movea.l A0, A2
000012CC 2004 move.l D0, D4
000012CE A024 syscall SetHandleSize
000012D0 4A6E FD88 tst.w [A6 - 0x278]
000012D4 6706 beq +0x8 /* 000012DC */
000012D6 3C3C 00C8 move.w D6, 0xC8
000012DA 600A bra +0xC /* 000012E6 */
label000012DC:
000012DC 2F2C 0170 move.l -[A7], [A4 + 0x170]
000012E0 3F3C 0000 move.w -[A7], 0x0
000012E4 A83D syscall TEDispatch
label000012E6:
000012E6 598F subq.l A7, 4
000012E8 A9FA syscall UnloadScrap/UnlodeScrap
000012EA 584F addq.w A7, 4
label000012EC:
000012EC 206C 0170 movea.l A0, [A4 + 0x170]
000012F0 2050 movea.l A0, [A0]
000012F2 9A68 005E sub.w D5, [A0 + 0x5E]
000012F6 7000 moveq.l D0, 0x00
000012F8 2F00 move.l -[A7], D0
000012FA 2F0C move.l -[A7], A4
000012FC 4EBA ED6A jsr [PC - 0x1296 /* 00000068 */]
00001300 7000 moveq.l D0, 0x00
00001302 2F00 move.l -[A7], D0
00001304 4A45 tst.w D5
00001306 5EC3 sgt D3
00001308 4403 neg.b D3
0000130A 4883 ext.w D3
0000130C 48C3 ext.l D3
0000130E 2F03 move.l -[A7], D3
00001310 4A45 tst.w D5
00001312 5EC3 sgt D3
00001314 4403 neg.b D3
00001316 4883 ext.w D3
00001318 48C3 ext.l D3
0000131A 2F03 move.l -[A7], D3
0000131C 2F0B move.l -[A7], A3
0000131E 4EAD 0042 jsr [A5 + 0x42 /* export_4 */]
00001322 197C 0001 00F3 move.b [A4 + 0xF3], 0x1
00001328 4FEF 0018 lea.l A7, [A7 + 0x18]
0000132C 6000 042E bra +0x430 /* 0000175C */
00001330 7000 moveq.l D0, 0x00
00001332 2F00 move.l -[A7], D0
00001334 206C 0170 movea.l A0, [A4 + 0x170]
00001338 2050 movea.l A0, [A0]
0000133A 3228 003C move.w D1, [A0 + 0x3C]
0000133E 48C1 ext.l D1
00001340 2F01 move.l -[A7], D1
00001342 2F2C 0170 move.l -[A7], [A4 + 0x170]
00001346 A9D1 syscall TESetSelect
00001348 7000 moveq.l D0, 0x00
0000134A 2F00 move.l -[A7], D0
0000134C 2F0C move.l -[A7], A4
0000134E 4EBA ED18 jsr [PC - 0x12E8 /* 00000068 */]
00001352 7000 moveq.l D0, 0x00
00001354 2F00 move.l -[A7], D0
00001356 2F00 move.l -[A7], D0
00001358 2F00 move.l -[A7], D0
0000135A 2F0B move.l -[A7], A3
0000135C 4EAD 0042 jsr [A5 + 0x42 /* export_4 */]
00001360 7C64 moveq.l D6, 0x64
00001362 4FEF 0018 lea.l A7, [A7 + 0x18]
00001366 6000 03F4 bra +0x3F6 /* 0000175C */
0000136A 4A2C 00F0 tst.b [A4 + 0xF0]
0000136E 6710 beq +0x12 /* 00001380 */
00001370 70FF moveq.l D0, 0xFFFFFFFF
00001372 B06C 00EA cmp.w D0, [A4 + 0xEA]
00001376 6616 bne +0x18 /* 0000138E */
00001378 70FF moveq.l D0, 0xFFFFFFFF
0000137A B06C 00EC cmp.w D0, [A4 + 0xEC]
0000137E 660E bne +0x10 /* 0000138E */
label00001380:
00001380 2F0C move.l -[A7], A4
00001382 4EBA F5CA jsr [PC - 0xA36 /* 0000094E */]
00001386 3C00 move.w D6, D0
00001388 584F addq.w A7, 4
0000138A 6000 03D0 bra +0x3D2 /* 0000175C */
label0000138E:
0000138E 2F0C move.l -[A7], A4
00001390 4EBA F11E jsr [PC - 0xEE2 /* 000004B0 */]
00001394 3C00 move.w D6, D0
00001396 584F addq.w A7, 4
00001398 6000 03C2 bra +0x3C4 /* 0000175C */
0000139C 2F0C move.l -[A7], A4
0000139E 4EBA F5AE jsr [PC - 0xA52 /* 0000094E */]
000013A2 3C00 move.w D6, D0
000013A4 584F addq.w A7, 4
000013A6 6000 03B4 bra +0x3B6 /* 0000175C */
000013AA 206C 0170 movea.l A0, [A4 + 0x170]
000013AE 2050 movea.l A0, [A0]
000013B0 3A28 005E move.w D5, [A0 + 0x5E]
000013B4 598F subq.l A7, 4
000013B6 2007 move.l D0, D7
000013B8 4840 swap.w D0
000013BA 48C0 ext.l D0
000013BC 3F00 move.w -[A7], D0
000013BE A949 syscall GetMenuHandle
000013C0 203C 0000 FFFF move.l D0, 0xFFFF
000013C6 C087 and.l D0, D7
000013C8 3F00 move.w -[A7], D0
000013CA 486E FEF4 pea.l [A6 - 0x10C]
000013CE A946 syscall GetMenuItemText/GetItem
000013D0 486E FEF4 pea.l [A6 - 0x10C]
000013D4 486E FFF4 pea.l [A6 - 0xC]
000013D8 A900 syscall GetFNum
000013DA 7001 moveq.l D0, 0x01
000013DC 3F00 move.w -[A7], D0
000013DE 486E FFF4 pea.l [A6 - 0xC]
000013E2 7201 moveq.l D1, 0x01
000013E4 1F01 move.b -[A7], D1
000013E6 2F2C 0170 move.l -[A7], [A4 + 0x170]
000013EA 3F3C 0001 move.w -[A7], 0x1
000013EE A83D syscall TEDispatch
000013F0 2F2C 0170 move.l -[A7], [A4 + 0x170]
000013F4 A9D0 syscall TECalText
000013F6 206C 0170 movea.l A0, [A4 + 0x170]
000013FA 2050 movea.l A0, [A0]
000013FC 9A68 005E sub.w D5, [A0 + 0x5E]
00001400 7000 moveq.l D0, 0x00
00001402 2F00 move.l -[A7], D0
00001404 2F0C move.l -[A7], A4
00001406 4EBA EC60 jsr [PC - 0x13A0 /* 00000068 */]
0000140A 7000 moveq.l D0, 0x00
0000140C 2F00 move.l -[A7], D0
0000140E 4A45 tst.w D5
00001410 5EC3 sgt D3
00001412 4403 neg.b D3
00001414 4883 ext.w D3
00001416 48C3 ext.l D3
00001418 2F03 move.l -[A7], D3
0000141A 4A45 tst.w D5
0000141C 5EC3 sgt D3
0000141E 4403 neg.b D3
00001420 4883 ext.w D3
00001422 48C3 ext.l D3
00001424 2F03 move.l -[A7], D3
00001426 2F0B move.l -[A7], A3
00001428 4EAD 0042 jsr [A5 + 0x42 /* export_4 */]
0000142C 197C 0001 00F3 move.b [A4 + 0xF3], 0x1
00001432 4FEF 0018 lea.l A7, [A7 + 0x18]
00001436 6000 0324 bra +0x326 /* 0000175C */
0000143A 2F0C move.l -[A7], A4
0000143C 7000 moveq.l D0, 0x00
0000143E 2F00 move.l -[A7], D0
00001440 4EBA F770 jsr [PC - 0x890 /* 00000BB2 */]
00001444 504F addq.w A7, 8
00001446 6000 0314 bra +0x316 /* 0000175C */
0000144A 2F0C move.l -[A7], A4
0000144C 7001 moveq.l D0, 0x01
0000144E 2F00 move.l -[A7], D0
00001450 4EBA F760 jsr [PC - 0x8A0 /* 00000BB2 */]
00001454 504F addq.w A7, 8
00001456 6000 0304 bra +0x306 /* 0000175C */
0000145A 2F0C move.l -[A7], A4
0000145C 7002 moveq.l D0, 0x02
0000145E 2F00 move.l -[A7], D0
00001460 4EBA F750 jsr [PC - 0x8B0 /* 00000BB2 */]
00001464 504F addq.w A7, 8
00001466 6000 02F4 bra +0x2F6 /* 0000175C */
0000146A 2F0C move.l -[A7], A4
0000146C 7004 moveq.l D0, 0x04
0000146E 2F00 move.l -[A7], D0
00001470 4EBA F740 jsr [PC - 0x8C0 /* 00000BB2 */]
00001474 504F addq.w A7, 8
00001476 6000 02E4 bra +0x2E6 /* 0000175C */
0000147A 2F0C move.l -[A7], A4
0000147C 7008 moveq.l D0, 0x08
0000147E 2F00 move.l -[A7], D0
00001480 4EBA F730 jsr [PC - 0x8D0 /* 00000BB2 */]
00001484 504F addq.w A7, 8
00001486 6000 02D4 bra +0x2D6 /* 0000175C */
0000148A 2F0C move.l -[A7], A4
0000148C 7010 moveq.l D0, 0x10
0000148E 2F00 move.l -[A7], D0
00001490 4EBA F720 jsr [PC - 0x8E0 /* 00000BB2 */]
00001494 504F addq.w A7, 8
00001496 6000 02C4 bra +0x2C6 /* 0000175C */
0000149A 2F0C move.l -[A7], A4
0000149C 7020 moveq.l D0, 0x20
0000149E 2F00 move.l -[A7], D0
000014A0 4EBA F710 jsr [PC - 0x8F0 /* 00000BB2 */]
000014A4 504F addq.w A7, 8
000014A6 6000 02B4 bra +0x2B6 /* 0000175C */
000014AA 2F0C move.l -[A7], A4
000014AC 7040 moveq.l D0, 0x40
000014AE 2F00 move.l -[A7], D0
000014B0 4EBA F700 jsr [PC - 0x900 /* 00000BB2 */]
000014B4 504F addq.w A7, 8
000014B6 6000 02A4 bra +0x2A6 /* 0000175C */
000014BA 2F0C move.l -[A7], A4
000014BC 7009 moveq.l D0, 0x09
000014BE 2F00 move.l -[A7], D0
000014C0 4EBA F784 jsr [PC - 0x87C /* 00000C46 */]
000014C4 3C00 move.w D6, D0
000014C6 504F addq.w A7, 8
000014C8 6000 0292 bra +0x294 /* 0000175C */
000014CC 2F0C move.l -[A7], A4
000014CE 700A moveq.l D0, 0x0A
000014D0 2F00 move.l -[A7], D0
000014D2 4EBA F772 jsr [PC - 0x88E /* 00000C46 */]
000014D6 3C00 move.w D6, D0
000014D8 504F addq.w A7, 8
000014DA 6000 0280 bra +0x282 /* 0000175C */
000014DE 2F0C move.l -[A7], A4
000014E0 700C moveq.l D0, 0x0C
000014E2 2F00 move.l -[A7], D0
000014E4 4EBA F760 jsr [PC - 0x8A0 /* 00000C46 */]
000014E8 3C00 move.w D6, D0
000014EA 504F addq.w A7, 8
000014EC 6000 026E bra +0x270 /* 0000175C */
000014F0 2F0C move.l -[A7], A4
000014F2 700E moveq.l D0, 0x0E
000014F4 2F00 move.l -[A7], D0
000014F6 4EBA F74E jsr [PC - 0x8B2 /* 00000C46 */]
000014FA 3C00 move.w D6, D0
000014FC 504F addq.w A7, 8
000014FE 6000 025C bra +0x25E /* 0000175C */
00001502 2F0C move.l -[A7], A4
00001504 7012 moveq.l D0, 0x12
00001506 2F00 move.l -[A7], D0
00001508 4EBA F73C jsr [PC - 0x8C4 /* 00000C46 */]
0000150C 3C00 move.w D6, D0
0000150E 504F addq.w A7, 8
00001510 6000 024A bra +0x24C /* 0000175C */
00001514 2F0C move.l -[A7], A4
00001516 7018 moveq.l D0, 0x18
00001518 2F00 move.l -[A7], D0
0000151A 4EBA F72A jsr [PC - 0x8D6 /* 00000C46 */]
0000151E 3C00 move.w D6, D0
00001520 504F addq.w A7, 8
00001522 6000 0238 bra +0x23A /* 0000175C */
00001526 2F0C move.l -[A7], A4
00001528 7024 moveq.l D0, 0x24
0000152A 2F00 move.l -[A7], D0
0000152C 4EBA F718 jsr [PC - 0x8E8 /* 00000C46 */]
00001530 3C00 move.w D6, D0
00001532 504F addq.w A7, 8
00001534 6000 0226 bra +0x228 /* 0000175C */
00001538 203C 0001 6800 move.l D0, 0x16800
0000153E A122 syscall NewHandle, flags=1
00001540 2D48 FFFC move.l [A6 - 0x4], A0
00001544 3C38 0220 move.w D6, [0x00000220 /* MemErr */]
00001548 671C beq +0x1E /* 00001566 */
0000154A 203C 0000 1400 move.l D0, 0x1400
00001550 A122 syscall NewHandle, flags=1
00001552 2D48 FFFC move.l [A6 - 0x4], A0
00001556 3C38 0220 move.w D6, [0x00000220 /* MemErr */]
0000155A 206E FFFC movea.l A0, [A6 - 0x4]
0000155E A023 syscall DisposHandle/DisposeHandle
00001560 7000 moveq.l D0, 0x00
00001562 2D40 FFFC move.l [A6 - 0x4], D0
label00001566:
00001566 4A46 tst.w D6
00001568 6600 01F2 bne +0x1F4 /* 0000175C */
0000156C 3D7C 0064 FEF2 move.w [A6 - 0x10E], 0x64 /* 'd' */
00001572 3D7C 0032 FEF0 move.w [A6 - 0x110], 0x32 /* '2' */
00001578 558F subq.l A7, 2
0000157A 7000 moveq.l D0, 0x00
0000157C 2F00 move.l -[A7], D0
0000157E 2F2E FEF0 move.l -[A7], [A6 - 0x110]
00001582 2F3C 676F 6F64 move.l -[A7], 0x676F6F64 /* 'good' */
00001588 486E FFFC pea.l [A6 - 0x4]
0000158C 203C 0804 0014 move.l D0, 0x8040014
00001592 A800 syscall SoundDispatch
00001594 3C1F move.w D6, [A7]+
00001596 6614 bne +0x16 /* 000015AC */
00001598 206C 0174 movea.l A0, [A4 + 0x174]
0000159C A023 syscall DisposHandle/DisposeHandle
0000159E 296E FFFC 0174 move.l [A4 + 0x174], [A6 - 0x4]
000015A4 197C 0001 00F3 move.b [A4 + 0xF3], 0x1
000015AA 6006 bra +0x8 /* 000015B2 */
label000015AC:
000015AC 206E FFFC movea.l A0, [A6 - 0x4]
000015B0 A023 syscall DisposHandle/DisposeHandle
label000015B2:
000015B2 0C46 FF80 cmpi.w D6, 0xFF80
000015B6 6600 01A4 bne +0x1A6 /* 0000175C */
000015BA 4246 clr.w D6
000015BC 6000 019E bra +0x1A0 /* 0000175C */
000015C0 4AAC 0174 tst.l [A4 + 0x174]
000015C4 6700 0196 beq +0x198 /* 0000175C */
000015C8 558F subq.l A7, 2
000015CA 7000 moveq.l D0, 0x00
000015CC 2F00 move.l -[A7], D0
000015CE 2F2C 0174 move.l -[A7], [A4 + 0x174]
000015D2 7200 moveq.l D1, 0x00
000015D4 1F01 move.b -[A7], D1
000015D6 A805 syscall SndPlay
000015D8 544F addq.w A7, 2
000015DA 6000 0180 bra +0x182 /* 0000175C */
000015DE 206C 0174 movea.l A0, [A4 + 0x174]
000015E2 A023 syscall DisposHandle/DisposeHandle
000015E4 7000 moveq.l D0, 0x00
000015E6 2940 0174 move.l [A4 + 0x174], D0
000015EA 197C 0001 00F3 move.b [A4 + 0xF3], 0x1
000015F0 6000 016A bra +0x16C /* 0000175C */
000015F4 7000 moveq.l D0, 0x00
000015F6 2F00 move.l -[A7], D0
000015F8 4EBA EC4C jsr [PC - 0x13B4 /* 00000246 */]
000015FC 4AAD F274 tst.l [A5 - 0xD8C]
00001600 584F addq.w A7, 4
00001602 6614 bne +0x16 /* 00001618 */
00001604 558F subq.l A7, 2
00001606 486D F26C pea.l [A5 - 0xD94]
0000160A 486D F274 pea.l [A5 - 0xD8C]
0000160E 203C 0418 000C move.l D0, 0x418000C
00001614 A800 syscall SoundDispatch
00001616 3C1F move.w D6, [A7]+
label00001618:
00001618 4A46 tst.w D6
0000161A 6600 0140 bne +0x142 /* 0000175C */
0000161E 206C 0170 movea.l A0, [A4 + 0x170]
00001622 2050 movea.l A0, [A0]
00001624 226C 0170 movea.l A1, [A4 + 0x170]
00001628 2251 movea.l A1, [A1]
0000162A 3028 0022 move.w D0, [A0 + 0x22]
0000162E B069 0020 cmp.w D0, [A1 + 0x20]
00001632 6F14 ble +0x16 /* 00001648 */
00001634 206C 0170 movea.l A0, [A4 + 0x170]
00001638 2650 movea.l A3, [A0]
0000163A 3A2B 0022 move.w D5, [A3 + 0x22]
0000163E 9A6B 0020 sub.w D5, [A3 + 0x20]
00001642 382B 0020 move.w D4, [A3 + 0x20]
00001646 600C bra +0xE /* 00001654 */
label00001648:
00001648 206C 0170 movea.l A0, [A4 + 0x170]
0000164C 2050 movea.l A0, [A0]
0000164E 3A28 003C move.w D5, [A0 + 0x3C]
00001652 4244 clr.w D4
label00001654:
00001654 48C5 ext.l D5
00001656 2005 move.l D0, D5
00001658 A11E syscall NewPtr, flags=1
0000165A 2B48 F268 move.l [A5 - 0xD98], A0
0000165E 3C38 0220 move.w D6, [0x00000220 /* MemErr */]
00001662 6600 00F8 bne +0xFA /* 0000175C */
00001666 226C 0170 movea.l A1, [A4 + 0x170]
0000166A 2251 movea.l A1, [A1]
0000166C 2269 003E movea.l A1, [A1 + 0x3E]
00001670 48C4 ext.l D4
00001672 2004 move.l D0, D4
00001674 D091 add.l D0, [A1]
00001676 2040 movea.l A0, D0
00001678 226D F268 movea.l A1, [A5 - 0xD98]
0000167C 48C5 ext.l D5
0000167E 2005 move.l D0, D5
00001680 A02E syscall BlockMove/BlockMoveData
00001682 558F subq.l A7, 2
00001684 2F2D F274 move.l -[A7], [A5 - 0xD8C]
00001688 2F2D F268 move.l -[A7], [A5 - 0xD98]
0000168C 48C5 ext.l D5
0000168E 2F05 move.l -[A7], D5
00001690 203C 0624 000C move.l D0, 0x624000C
00001696 A800 syscall SoundDispatch
00001698 3C1F move.w D6, [A7]+
0000169A 6000 00C0 bra +0xC2 /* 0000175C */
0000169E 7001 moveq.l D0, 0x01
000016A0 2F00 move.l -[A7], D0
000016A2 4EBA EBA2 jsr [PC - 0x145E /* 00000246 */]
000016A6 584F addq.w A7, 4
000016A8 6000 00B2 bra +0xB4 /* 0000175C */
000016AC 598F subq.l A7, 4
000016AE 3F3C 0087 move.w -[A7], 0x87
000016B2 A949 syscall GetMenuHandle
000016B4 265F movea.l A3, [A7]+
000016B6 7001 moveq.l D0, 0x01
000016B8 2F00 move.l -[A7], D0
000016BA 4EBA EB8A jsr [PC - 0x1476 /* 00000246 */]
000016BE 2A3C 0000 FFFF move.l D5, 0xFFFF
000016C4 CA87 and.l D5, D7
000016C6 2F0B move.l -[A7], A3
000016C8 3F05 move.w -[A7], D5
000016CA 486E FEFE pea.l [A6 - 0x102]
000016CE A946 syscall GetMenuItemText/GetItem
000016D0 558F subq.l A7, 2
000016D2 486E FFFE pea.l [A6 - 0x2]
000016D6 203C 0108 000C move.l D0, 0x108000C
000016DC A800 syscall SoundDispatch
000016DE 4A5F tst.w [A7]+
000016E0 584F addq.w A7, 4
000016E2 664C bne +0x4E /* 00001730 */
000016E4 7E01 moveq.l D7, 0x01
000016E6 6042 bra +0x44 /* 0000172A */
label000016E8:
000016E8 558F subq.l A7, 2
000016EA 3F07 move.w -[A7], D7
000016EC 486E FEF6 pea.l [A6 - 0x10A]
000016F0 203C 030C 000C move.l D0, 0x30C000C
000016F6 A800 syscall SoundDispatch
000016F8 4A5F tst.w [A7]+
000016FA 662C bne +0x2E /* 00001728 */
000016FC 558F subq.l A7, 2
000016FE 486E FEF6 pea.l [A6 - 0x10A]
00001702 486E FD8A pea.l [A6 - 0x276]
00001706 4878 016A push.l 0x16A
0000170A 203C 0610 000C move.l D0, 0x610000C
00001710 A800 syscall SoundDispatch
00001712 4A5F tst.w [A7]+
00001714 6612 bne +0x14 /* 00001728 */
00001716 558F subq.l A7, 2
00001718 486E FEFE pea.l [A6 - 0x102]
0000171C 486E FD9A pea.l [A6 - 0x266]
00001720 4EAD 014A jsr [A5 + 0x14A /* export_37 */]
00001724 4A5F tst.w [A7]+
00001726 6708 beq +0xA /* 00001730 */
label00001728:
00001728 5247 addq.w D7, 1
label0000172A:
0000172A BE6E FFFE cmp.w D7, [A6 - 0x2]
0000172E 6FB8 ble -0x46 /* 000016E8 */
label00001730:
00001730 41ED F26C lea.l A0, [A5 - 0xD94]
00001734 43EE FEF6 lea.l A1, [A6 - 0x10A]
00001738 20D9 move.l [A0]+, [A1]+
0000173A 20D9 move.l [A0]+, [A1]+
0000173C 558F subq.l A7, 2
0000173E 2F0B move.l -[A7], A3
00001740 A950 syscall CountMItems
00001742 3E1F move.w D7, [A7]+
00001744 6010 bra +0x12 /* 00001756 */
label00001746:
00001746 2F0B move.l -[A7], A3
00001748 3F07 move.w -[A7], D7
0000174A BE45 cmp.w D7, D5
0000174C 57C3 seq D3
0000174E 4403 neg.b D3
00001750 1F03 move.b -[A7], D3
00001752 A945 syscall CheckItem
00001754 5347 subq.w D7, 1
label00001756:
00001756 0C47 0001 cmpi.w D7, 0x1
0000175A 6CEA bge -0x14 /* 00001746 */
label0000175C:
0000175C 3006 move.w D0, D6
0000175E 4CEE 1CF8 FD60 movem.l D3,D4,D5,D6,D7,A2,A3,A4, [A6 - 0x2A0]
00001764 4E5E unlink A6
00001766 4E75 rts
00001768 4E56 FDF2 link A6, -0x020E
0000176C 48E7 1718 movem.l -[A7], D3,D5,D6,D7,A3,A4
00001770 47EE FEF4 lea.l A3, [A6 - 0x10C]
00001774 206E 000C movea.l A0, [A6 + 0xC]
00001778 0CA8 5445 5854 00A0 cmpi.l [A0 + 0xA0], 0x54455854 /* 'TEXT' */
00001780 6600 0418 bne +0x41A /* 00001B9A */
00001784 206E 000C movea.l A0, [A6 + 0xC]
00001788 2068 0170 movea.l A0, [A0 + 0x170]
0000178C 2050 movea.l A0, [A0]
0000178E 226E 000C movea.l A1, [A6 + 0xC]
00001792 2269 0170 movea.l A1, [A1 + 0x170]
00001796 2251 movea.l A1, [A1]
00001798 3028 0022 move.w D0, [A0 + 0x22]
0000179C B069 0020 cmp.w D0, [A1 + 0x20]
000017A0 6F1C ble +0x1E /* 000017BE */
000017A2 7015 moveq.l D0, 0x15
000017A4 2F00 move.l -[A7], D0
000017A6 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
000017AA 7016 moveq.l D0, 0x16
000017AC 2F00 move.l -[A7], D0
000017AE 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
000017B2 7018 moveq.l D0, 0x18
000017B4 2F00 move.l -[A7], D0
000017B6 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
000017BA 4FEF 000C lea.l A7, [A7 + 0xC]
label000017BE:
000017BE 558F subq.l A7, 2
000017C0 4EAD 013A jsr [A5 + 0x13A /* export_35 */]
000017C4 7000 moveq.l D0, 0x00
000017C6 3038 0AB0 move.w D0, [0x00000AB0 /* TEScrpLength */]
000017CA 4A80 tst.l D0
000017CC 544F addq.w A7, 2
000017CE 630A bls +0xC /* 000017DA */
000017D0 7017 moveq.l D0, 0x17
000017D2 2F00 move.l -[A7], D0
000017D4 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
000017D8 584F addq.w A7, 4
label000017DA:
000017DA 700E moveq.l D0, 0x0E
000017DC 2F00 move.l -[A7], D0
000017DE 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
000017E2 7019 moveq.l D0, 0x19
000017E4 2F00 move.l -[A7], D0
000017E6 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
000017EA 701E moveq.l D0, 0x1E
000017EC 2F00 move.l -[A7], D0
000017EE 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
000017F2 3D7C 0001 FDF2 move.w [A6 - 0x20E], 0x1
000017F8 558F subq.l A7, 2
000017FA 486E FDF2 pea.l [A6 - 0x20E]
000017FE 486E FFF4 pea.l [A6 - 0xC]
00001802 206E 000C movea.l A0, [A6 + 0xC]
00001806 2F28 0170 move.l -[A7], [A0 + 0x170]
0000180A 3F3C 000A move.w -[A7], 0xA /* '\n' */
0000180E A83D syscall TEDispatch
00001810 1C1F move.b D6, [A7]+
00001812 4FEF 000C lea.l A7, [A7 + 0xC]
00001816 670A beq +0xC /* 00001822 */
00001818 3F2E FFF4 move.w -[A7], [A6 - 0xC]
0000181C 486E FDF4 pea.l [A6 - 0x20C]
00001820 A8FF syscall GetFName/GetFontName
label00001822:
00001822 598F subq.l A7, 4
00001824 3F3C 0083 move.w -[A7], 0x83
00001828 A949 syscall GetMenuHandle
0000182A 285F movea.l A4, [A7]+
0000182C 558F subq.l A7, 2
0000182E 2F0C move.l -[A7], A4
00001830 A950 syscall CountMItems
00001832 3A1F move.w D5, [A7]+
00001834 7E01 moveq.l D7, 0x01
00001836 6032 bra +0x34 /* 0000186A */
label00001838:
00001838 4A06 tst.b D6
0000183A 6722 beq +0x24 /* 0000185E */
0000183C 2F0C move.l -[A7], A4
0000183E 3F07 move.w -[A7], D7
00001840 2F0B move.l -[A7], A3
00001842 A946 syscall GetMenuItemText/GetItem
00001844 2F0C move.l -[A7], A4
00001846 3F07 move.w -[A7], D7
00001848 558F subq.l A7, 2
0000184A 2F0B move.l -[A7], A3
0000184C 486E FDF4 pea.l [A6 - 0x20C]
00001850 7001 moveq.l D0, 0x01
00001852 1F00 move.b -[A7], D0
00001854 1F00 move.b -[A7], D0
00001856 4EAD 00F2 jsr [A5 + 0xF2 /* export_26 */]
0000185A A945 syscall CheckItem
0000185C 600A bra +0xC /* 00001868 */
label0000185E:
0000185E 2F0C move.l -[A7], A4
00001860 3F07 move.w -[A7], D7
00001862 7000 moveq.l D0, 0x00
00001864 1F00 move.b -[A7], D0
00001866 A945 syscall CheckItem
label00001868:
00001868 5247 addq.w D7, 1
label0000186A:
0000186A BA47 cmp.w D5, D7
0000186C 6CCA bge -0x34 /* 00001838 */
0000186E 4247 clr.w D7
00001870 3D7C 0004 FFF2 move.w [A6 - 0xE], 0x4
00001876 558F subq.l A7, 2
00001878 486E FFF2 pea.l [A6 - 0xE]
0000187C 486E FFF4 pea.l [A6 - 0xC]
00001880 206E 000C movea.l A0, [A6 + 0xC]
00001884 2F28 0170 move.l -[A7], [A0 + 0x170]
00001888 3F3C 000A move.w -[A7], 0xA /* '\n' */
0000188C A83D syscall TEDispatch
0000188E 4A1F tst.b [A7]+
00001890 6714 beq +0x16 /* 000018A6 */
00001892 3E2E FFF8 move.w D7, [A6 - 0x8]
00001896 660E bne +0x10 /* 000018A6 */
00001898 558F subq.l A7, 2
0000189A 3EB8 0BA8 move.w [A7], [0x00000BA8 /* DefFontSize */]
0000189E 6604 bne +0x6 /* 000018A4 */
000018A0 3EBC 000C move.w [A7], 0xC
label000018A4:
000018A4 3E1F move.w D7, [A7]+
label000018A6:
000018A6 3D7C 0001 FFF2 move.w [A6 - 0xE], 0x1
000018AC 558F subq.l A7, 2
000018AE 486E FFF2 pea.l [A6 - 0xE]
000018B2 486E FFF4 pea.l [A6 - 0xC]
000018B6 206E 000C movea.l A0, [A6 + 0xC]
000018BA 2F28 0170 move.l -[A7], [A0 + 0x170]
000018BE 3F3C 000A move.w -[A7], 0xA /* '\n' */
000018C2 A83D syscall TEDispatch
000018C4 1A1F move.b D5, [A7]+
000018C6 558F subq.l A7, 2
000018C8 3F2E FFF4 move.w -[A7], [A6 - 0xC]
000018CC 7009 moveq.l D0, 0x09
000018CE 3F00 move.w -[A7], D0
000018D0 A902 syscall RealFont
000018D2 101F move.b D0, [A7]+
000018D4 C005 and.b D0, D5
000018D6 6704 beq +0x6 /* 000018DC */
000018D8 7008 moveq.l D0, 0x08
000018DA 6002 bra +0x4 /* 000018DE */
label000018DC:
000018DC 7000 moveq.l D0, 0x00
label000018DE:
000018DE 2F00 move.l -[A7], D0
000018E0 0C47 0009 cmpi.w D7, 0x9 /* '\t' */
000018E4 57C3 seq D3
000018E6 4403 neg.b D3
000018E8 4883 ext.w D3
000018EA 48C3 ext.l D3
000018EC 2F03 move.l -[A7], D3
000018EE 7028 moveq.l D0, 0x28
000018F0 2F00 move.l -[A7], D0
000018F2 4EAD 006A jsr [A5 + 0x6A /* export_9 */]
000018F6 558F subq.l A7, 2
000018F8 3F2E FFF4 move.w -[A7], [A6 - 0xC]
000018FC 700A moveq.l D0, 0x0A
000018FE 3F00 move.w -[A7], D0
00001900 A902 syscall RealFont
00001902 101F move.b D0, [A7]+
00001904 C005 and.b D0, D5
00001906 6704 beq +0x6 /* 0000190C */
00001908 7008 moveq.l D0, 0x08
0000190A 6002 bra +0x4 /* 0000190E */
label0000190C:
0000190C 7000 moveq.l D0, 0x00
label0000190E:
0000190E 2F00 move.l -[A7], D0
00001910 0C47 000A cmpi.w D7, 0xA /* '\n' */
00001914 57C3 seq D3
00001916 4403 neg.b D3
00001918 4883 ext.w D3
0000191A 48C3 ext.l D3
0000191C 2F03 move.l -[A7], D3
0000191E 7029 moveq.l D0, 0x29
00001920 2F00 move.l -[A7], D0
00001922 4EAD 006A jsr [A5 + 0x6A /* export_9 */]
00001926 558F subq.l A7, 2
00001928 3F2E FFF4 move.w -[A7], [A6 - 0xC]
0000192C 700C moveq.l D0, 0x0C
0000192E 3F00 move.w -[A7], D0
00001930 A902 syscall RealFont
00001932 101F move.b D0, [A7]+
00001934 C005 and.b D0, D5
00001936 6704 beq +0x6 /* 0000193C */
00001938 7008 moveq.l D0, 0x08
0000193A 6002 bra +0x4 /* 0000193E */
label0000193C:
0000193C 7000 moveq.l D0, 0x00
label0000193E:
0000193E 2F00 move.l -[A7], D0
00001940 0C47 000C cmpi.w D7, 0xC
00001944 57C3 seq D3
00001946 4403 neg.b D3
00001948 4883 ext.w D3
0000194A 48C3 ext.l D3
0000194C 2F03 move.l -[A7], D3
0000194E 702A moveq.l D0, 0x2A
00001950 2F00 move.l -[A7], D0
00001952 4EAD 006A jsr [A5 + 0x6A /* export_9 */]
00001956 558F subq.l A7, 2
00001958 3F2E FFF4 move.w -[A7], [A6 - 0xC]
0000195C 700E moveq.l D0, 0x0E
0000195E 3F00 move.w -[A7], D0
00001960 A902 syscall RealFont
00001962 101F move.b D0, [A7]+
00001964 C005 and.b D0, D5
00001966 6704 beq +0x6 /* 0000196C */
00001968 7008 moveq.l D0, 0x08
0000196A 6002 bra +0x4 /* 0000196E */
label0000196C:
0000196C 7000 moveq.l D0, 0x00
label0000196E:
0000196E 2F00 move.l -[A7], D0
00001970 0C47 000E cmpi.w D7, 0xE
00001974 57C3 seq D3
00001976 4403 neg.b D3
00001978 4883 ext.w D3
0000197A 48C3 ext.l D3
0000197C 2F03 move.l -[A7], D3
0000197E 702B moveq.l D0, 0x2B
00001980 2F00 move.l -[A7], D0
00001982 4EAD 006A jsr [A5 + 0x6A /* export_9 */]
00001986 558F subq.l A7, 2
00001988 3F2E FFF4 move.w -[A7], [A6 - 0xC]
0000198C 7012 moveq.l D0, 0x12
0000198E 3F00 move.w -[A7], D0
00001990 A902 syscall RealFont
00001992 101F move.b D0, [A7]+
00001994 C005 and.b D0, D5
00001996 6704 beq +0x6 /* 0000199C */
00001998 7008 moveq.l D0, 0x08
0000199A 6002 bra +0x4 /* 0000199E */
label0000199C:
0000199C 7000 moveq.l D0, 0x00
label0000199E:
0000199E 2F00 move.l -[A7], D0
000019A0 0C47 0012 cmpi.w D7, 0x12
000019A4 57C3 seq D3
000019A6 4403 neg.b D3
000019A8 4883 ext.w D3
000019AA 48C3 ext.l D3
000019AC 2F03 move.l -[A7], D3
000019AE 702C moveq.l D0, 0x2C
000019B0 2F00 move.l -[A7], D0
000019B2 4EAD 006A jsr [A5 + 0x6A /* export_9 */]
000019B6 558F subq.l A7, 2
000019B8 3F2E FFF4 move.w -[A7], [A6 - 0xC]
000019BC 7018 moveq.l D0, 0x18
000019BE 3F00 move.w -[A7], D0
000019C0 A902 syscall RealFont
000019C2 101F move.b D0, [A7]+
000019C4 C005 and.b D0, D5
000019C6 6704 beq +0x6 /* 000019CC */
000019C8 7008 moveq.l D0, 0x08
000019CA 6002 bra +0x4 /* 000019CE */
label000019CC:
000019CC 7000 moveq.l D0, 0x00
label000019CE:
000019CE 2F00 move.l -[A7], D0
000019D0 0C47 0018 cmpi.w D7, 0x18
000019D4 57C3 seq D3
000019D6 4403 neg.b D3
000019D8 4883 ext.w D3
000019DA 48C3 ext.l D3
000019DC 2F03 move.l -[A7], D3
000019DE 702D moveq.l D0, 0x2D
000019E0 2F00 move.l -[A7], D0
000019E2 4EAD 006A jsr [A5 + 0x6A /* export_9 */]
000019E6 558F subq.l A7, 2
000019E8 3F2E FFF4 move.w -[A7], [A6 - 0xC]
000019EC 7024 moveq.l D0, 0x24
000019EE 3F00 move.w -[A7], D0
000019F0 A902 syscall RealFont
000019F2 101F move.b D0, [A7]+
000019F4 C005 and.b D0, D5
000019F6 6704 beq +0x6 /* 000019FC */
000019F8 7008 moveq.l D0, 0x08
000019FA 6002 bra +0x4 /* 000019FE */
label000019FC:
000019FC 7000 moveq.l D0, 0x00
label000019FE:
000019FE 2F00 move.l -[A7], D0
00001A00 0C47 0024 cmpi.w D7, 0x24 /* '$' */
00001A04 57C3 seq D3
00001A06 4403 neg.b D3
00001A08 4883 ext.w D3
00001A0A 48C3 ext.l D3
00001A0C 2F03 move.l -[A7], D3
00001A0E 702E moveq.l D0, 0x2E
00001A10 2F00 move.l -[A7], D0
00001A12 4EAD 006A jsr [A5 + 0x6A /* export_9 */]
00001A16 3D7C 0002 FFF2 move.w [A6 - 0xE], 0x2
00001A1C 558F subq.l A7, 2
00001A1E 486E FFF2 pea.l [A6 - 0xE]
00001A22 486E FFF4 pea.l [A6 - 0xC]
00001A26 206E 000C movea.l A0, [A6 + 0xC]
00001A2A 2F28 0170 move.l -[A7], [A0 + 0x170]
00001A2E 3F3C 000A move.w -[A7], 0xA /* '\n' */
00001A32 A83D syscall TEDispatch
00001A34 4A1F tst.b [A7]+
00001A36 4FEF 0054 lea.l A7, [A7 + 0x54]
00001A3A 6614 bne +0x16 /* 00001A50 */
00001A3C 422E FFF6 clr.b [A6 - 0xA]
00001A40 7000 moveq.l D0, 0x00
00001A42 2F00 move.l -[A7], D0
00001A44 7232 moveq.l D1, 0x32
00001A46 2F01 move.l -[A7], D1
00001A48 4EAD 0062 jsr [A5 + 0x62 /* export_8 */]
00001A4C 504F addq.w A7, 8
00001A4E 601C bra +0x1E /* 00001A6C */
label00001A50:
00001A50 7000 moveq.l D0, 0x00
00001A52 102E FFF6 move.b D0, [A6 - 0xA]
00001A56 4A80 tst.l D0
00001A58 57C3 seq D3
00001A5A 4403 neg.b D3
00001A5C 4883 ext.w D3
00001A5E 48C3 ext.l D3
00001A60 2F03 move.l -[A7], D3
00001A62 7032 moveq.l D0, 0x32
00001A64 2F00 move.l -[A7], D0
00001A66 4EAD 0062 jsr [A5 + 0x62 /* export_8 */]
00001A6A 504F addq.w A7, 8
label00001A6C:
00001A6C 598F subq.l A7, 4
00001A6E 598F subq.l A7, 4
00001A70 7016 moveq.l D0, 0x16
00001A72 3F00 move.w -[A7], D0
00001A74 2F3C 8402 0008 move.l -[A7], 0x84020008
00001A7A A8B5 syscall ScriptUtil
00001A7C 201F move.l D0, [A7]+
00001A7E 3F00 move.w -[A7], D0
00001A80 705A moveq.l D0, 0x5A
00001A82 3F00 move.w -[A7], D0
00001A84 2F3C 8404 000C move.l -[A7], 0x8404000C
00001A8A A8B5 syscall ScriptUtil
00001A8C 201F move.l D0, [A7]+
00001A8E 1E00 move.b D7, D0
00001A90 7000 moveq.l D0, 0x00
00001A92 1007 move.b D0, D7
00001A94 4A80 tst.l D0
00001A96 6604 bne +0x6 /* 00001A9C */
00001A98 1E3C 00FF move.b D7, 0xFF
label00001A9C:
00001A9C 7000 moveq.l D0, 0x00
00001A9E 1007 move.b D0, D7
00001AA0 4A80 tst.l D0
00001AA2 0800 0000 btst.b D0, 0x0
00001AA6 671A beq +0x1C /* 00001AC2 */
00001AA8 7000 moveq.l D0, 0x00
00001AAA 102E FFF6 move.b D0, [A6 - 0xA]
00001AAE 7201 moveq.l D1, 0x01
00001AB0 C200 and.b D1, D0
00001AB2 7000 moveq.l D0, 0x00
00001AB4 1001 move.b D0, D1
00001AB6 2F00 move.l -[A7], D0
00001AB8 7033 moveq.l D0, 0x33
00001ABA 2F00 move.l -[A7], D0
00001ABC 4EAD 0062 jsr [A5 + 0x62 /* export_8 */]
00001AC0 504F addq.w A7, 8
label00001AC2:
00001AC2 7000 moveq.l D0, 0x00
00001AC4 1007 move.b D0, D7
00001AC6 7202 moveq.l D1, 0x02
00001AC8 C200 and.b D1, D0
00001ACA 671A beq +0x1C /* 00001AE6 */
00001ACC 7000 moveq.l D0, 0x00
00001ACE 102E FFF6 move.b D0, [A6 - 0xA]
00001AD2 7202 moveq.l D1, 0x02
00001AD4 C200 and.b D1, D0
00001AD6 7000 moveq.l D0, 0x00
00001AD8 1001 move.b D0, D1
00001ADA 2F00 move.l -[A7], D0
00001ADC 7034 moveq.l D0, 0x34
00001ADE 2F00 move.l -[A7], D0
00001AE0 4EAD 0062 jsr [A5 + 0x62 /* export_8 */]
00001AE4 504F addq.w A7, 8
label00001AE6:
00001AE6 7000 moveq.l D0, 0x00
00001AE8 1007 move.b D0, D7
00001AEA 7204 moveq.l D1, 0x04
00001AEC C200 and.b D1, D0
00001AEE 671A beq +0x1C /* 00001B0A */
00001AF0 7000 moveq.l D0, 0x00
00001AF2 102E FFF6 move.b D0, [A6 - 0xA]
00001AF6 7204 moveq.l D1, 0x04
00001AF8 C200 and.b D1, D0
00001AFA 7000 moveq.l D0, 0x00
00001AFC 1001 move.b D0, D1
00001AFE 2F00 move.l -[A7], D0
00001B00 7035 moveq.l D0, 0x35
00001B02 2F00 move.l -[A7], D0
00001B04 4EAD 0062 jsr [A5 + 0x62 /* export_8 */]
00001B08 504F addq.w A7, 8
label00001B0A:
00001B0A 7000 moveq.l D0, 0x00
00001B0C 1007 move.b D0, D7
00001B0E 7208 moveq.l D1, 0x08
00001B10 C200 and.b D1, D0
00001B12 671A beq +0x1C /* 00001B2E */
00001B14 7000 moveq.l D0, 0x00
00001B16 102E FFF6 move.b D0, [A6 - 0xA]
00001B1A 7208 moveq.l D1, 0x08
00001B1C C200 and.b D1, D0
00001B1E 7000 moveq.l D0, 0x00
00001B20 1001 move.b D0, D1
00001B22 2F00 move.l -[A7], D0
00001B24 7036 moveq.l D0, 0x36
00001B26 2F00 move.l -[A7], D0
00001B28 4EAD 0062 jsr [A5 + 0x62 /* export_8 */]
00001B2C 504F addq.w A7, 8
label00001B2E:
00001B2E 7000 moveq.l D0, 0x00
00001B30 1007 move.b D0, D7
00001B32 7210 moveq.l D1, 0x10
00001B34 C200 and.b D1, D0
00001B36 671A beq +0x1C /* 00001B52 */
00001B38 7000 moveq.l D0, 0x00
00001B3A 102E FFF6 move.b D0, [A6 - 0xA]
00001B3E 7210 moveq.l D1, 0x10
00001B40 C200 and.b D1, D0
00001B42 7000 moveq.l D0, 0x00
00001B44 1001 move.b D0, D1
00001B46 2F00 move.l -[A7], D0
00001B48 7037 moveq.l D0, 0x37
00001B4A 2F00 move.l -[A7], D0
00001B4C 4EAD 0062 jsr [A5 + 0x62 /* export_8 */]
00001B50 504F addq.w A7, 8
label00001B52:
00001B52 7000 moveq.l D0, 0x00
00001B54 1007 move.b D0, D7
00001B56 7220 moveq.l D1, 0x20
00001B58 C200 and.b D1, D0
00001B5A 671A beq +0x1C /* 00001B76 */
00001B5C 7000 moveq.l D0, 0x00
00001B5E 102E FFF6 move.b D0, [A6 - 0xA]
00001B62 7220 moveq.l D1, 0x20
00001B64 C200 and.b D1, D0
00001B66 7000 moveq.l D0, 0x00
00001B68 1001 move.b D0, D1
00001B6A 2F00 move.l -[A7], D0
00001B6C 7038 moveq.l D0, 0x38
00001B6E 2F00 move.l -[A7], D0
00001B70 4EAD 0062 jsr [A5 + 0x62 /* export_8 */]
00001B74 504F addq.w A7, 8
label00001B76:
00001B76 7000 moveq.l D0, 0x00
00001B78 1007 move.b D0, D7
00001B7A 7240 moveq.l D1, 0x40
00001B7C C200 and.b D1, D0
00001B7E 671A beq +0x1C /* 00001B9A */
00001B80 7000 moveq.l D0, 0x00
00001B82 102E FFF6 move.b D0, [A6 - 0xA]
00001B86 7240 moveq.l D1, 0x40
00001B88 C200 and.b D1, D0
00001B8A 7000 moveq.l D0, 0x00
00001B8C 1001 move.b D0, D1
00001B8E 2F00 move.l -[A7], D0
00001B90 7039 moveq.l D0, 0x39
00001B92 2F00 move.l -[A7], D0
00001B94 4EAD 0062 jsr [A5 + 0x62 /* export_8 */]
00001B98 504F addq.w A7, 8
label00001B9A:
00001B9A 4A2D F178 tst.b [A5 - 0xE88]
00001B9E 6774 beq +0x76 /* 00001C14 */
00001BA0 4AAD F274 tst.l [A5 - 0xD8C]
00001BA4 670A beq +0xC /* 00001BB0 */
00001BA6 7040 moveq.l D0, 0x40
00001BA8 2F00 move.l -[A7], D0
00001BAA 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
00001BAE 584F addq.w A7, 4
label00001BB0:
00001BB0 703F moveq.l D0, 0x3F
00001BB2 2F00 move.l -[A7], D0
00001BB4 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
00001BB8 7041 moveq.l D0, 0x41
00001BBA 2F00 move.l -[A7], D0
00001BBC 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
00001BC0 7042 moveq.l D0, 0x42
00001BC2 2F00 move.l -[A7], D0
00001BC4 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
00001BC8 206E 000C movea.l A0, [A6 + 0xC]
00001BCC 2068 0170 movea.l A0, [A0 + 0x170]
00001BD0 2050 movea.l A0, [A0]
00001BD2 226E 000C movea.l A1, [A6 + 0xC]
00001BD6 2269 0170 movea.l A1, [A1 + 0x170]
00001BDA 2251 movea.l A1, [A1]
00001BDC 3028 0022 move.w D0, [A0 + 0x22]
00001BE0 B069 0020 cmp.w D0, [A1 + 0x20]
00001BE4 4FEF 000C lea.l A7, [A7 + 0xC]
00001BE8 6F16 ble +0x18 /* 00001C00 */
00001BEA 7001 moveq.l D0, 0x01
00001BEC 2F00 move.l -[A7], D0
00001BEE 4878 0258 push.l 0x258
00001BF2 723F moveq.l D1, 0x3F
00001BF4 2F01 move.l -[A7], D1
00001BF6 4EAD 005A jsr [A5 + 0x5A /* export_7 */]
00001BFA 4FEF 000C lea.l A7, [A7 + 0xC]
00001BFE 6014 bra +0x16 /* 00001C14 */
label00001C00:
00001C00 7002 moveq.l D0, 0x02
00001C02 2F00 move.l -[A7], D0
00001C04 4878 0258 push.l 0x258
00001C08 723F moveq.l D1, 0x3F
00001C0A 2F01 move.l -[A7], D1
00001C0C 4EAD 005A jsr [A5 + 0x5A /* export_7 */]
00001C10 4FEF 000C lea.l A7, [A7 + 0xC]
label00001C14:
00001C14 206E 000C movea.l A0, [A6 + 0xC]
00001C18 4AA8 0174 tst.l [A0 + 0x174]
00001C1C 670A beq +0xC /* 00001C28 */
00001C1E 703D moveq.l D0, 0x3D
00001C20 2F00 move.l -[A7], D0
00001C22 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
00001C26 584F addq.w A7, 4
label00001C28:
00001C28 206E 000C movea.l A0, [A6 + 0xC]
00001C2C 0CA8 5445 5854 00A0 cmpi.l [A0 + 0xA0], 0x54455854 /* 'TEXT' */
00001C34 6626 bne +0x28 /* 00001C5C */
00001C36 206E 000C movea.l A0, [A6 + 0xC]
00001C3A 4AA8 0174 tst.l [A0 + 0x174]
00001C3E 670C beq +0xE /* 00001C4C */
00001C40 703E moveq.l D0, 0x3E
00001C42 2F00 move.l -[A7], D0
00001C44 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
00001C48 584F addq.w A7, 4
00001C4A 6010 bra +0x12 /* 00001C5C */
label00001C4C:
00001C4C 4A2D F177 tst.b [A5 - 0xE89]
00001C50 670A beq +0xC /* 00001C5C */
00001C52 703C moveq.l D0, 0x3C
00001C54 2F00 move.l -[A7], D0
00001C56 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
00001C5A 584F addq.w A7, 4
label00001C5C:
00001C5C 7000 moveq.l D0, 0x00
00001C5E 4CEE 18E8 FDDA movem.l D3,D5,D6,D7,A3,A4, [A6 - 0x226]
00001C64 4E5E unlink A6
00001C66 4E75 rts
00001C68 4E56 FFF0 link A6, -0x0010
00001C6C 48E7 0108 movem.l -[A7], D7,A4
00001C70 1E2E 0017 move.b D7, [A6 + 0x17]
00001C74 286E 000C movea.l A4, [A6 + 0xC]
00001C78 41EE FFF0 lea.l A0, [A6 - 0x10]
00001C7C 43EC 014E lea.l A1, [A4 + 0x14E]
00001C80 20D9 move.l [A0]+, [A1]+
00001C82 20D9 move.l [A0]+, [A1]+
00001C84 2078 09EE movea.l A0, [0x000009EE /* GrayRgn */]
00001C88 2050 movea.l A0, [A0]
00001C8A 43EE FFF8 lea.l A1, [A6 - 0x8]
00001C8E 5488 addq.l A0, 2
00001C90 22D8 move.l [A1]+, [A0]+
00001C92 22D8 move.l [A1]+, [A0]+
00001C94 4A07 tst.b D7
00001C96 6612 bne +0x14 /* 00001CAA */
00001C98 4A2C 016A tst.b [A4 + 0x16A]
00001C9C 660C bne +0xE /* 00001CAA */
00001C9E 7000 moveq.l D0, 0x00
00001CA0 2F00 move.l -[A7], D0
00001CA2 2F0C move.l -[A7], A4
00001CA4 4EBA E42C jsr [PC - 0x1BD4 /* 000000D2 */]
00001CA8 504F addq.w A7, 8
label00001CAA:
00001CAA 2F2C 0170 move.l -[A7], [A4 + 0x170]
00001CAE 4EBA E350 jsr [PC - 0x1CB0 /* 00000000 */]
00001CB2 3D40 FFF4 move.w [A6 - 0xC], D0
00001CB6 506E FFF4 addq.w [A6 - 0xC], 8
00001CBA 3D6E FFFE FFF6 move.w [A6 - 0xA], [A6 - 0x2]
00001CC0 302E FFF4 move.w D0, [A6 - 0xC]
00001CC4 B06C 0152 cmp.w D0, [A4 + 0x152]
00001CC8 584F addq.w A7, 4
00001CCA 6C06 bge +0x8 /* 00001CD2 */
00001CCC 3D6C 0152 FFF4 move.w [A6 - 0xC], [A4 + 0x152]
label00001CD2:
00001CD2 4A07 tst.b D7
00001CD4 670C beq +0xE /* 00001CE2 */
00001CD6 302E FFFC move.w D0, [A6 - 0x4]
00001CDA 907C 000F sub.w D0, 0xF
00001CDE 3D40 FFF4 move.w [A6 - 0xC], D0
label00001CE2:
00001CE2 2F2E 0010 move.l -[A7], [A6 + 0x10]
00001CE6 486E FFF0 pea.l [A6 - 0x10]
00001CEA 4EAD 0032 jsr [A5 + 0x32 /* export_2 */]
00001CEE 7000 moveq.l D0, 0x00
00001CF0 504F addq.w A7, 8
00001CF2 4CEE 1080 FFE8 movem.l D7,A4, [A6 - 0x18]
00001CF8 4E5E unlink A6
00001CFA 4E75 rts
00001CFC 4E56 0000 link A6, 0
00001D00 206E 0014 movea.l A0, [A6 + 0x14]
00001D04 30BC 0008 move.w [A0], 0x8
00001D08 7000 moveq.l D0, 0x00
00001D0A 4E5E unlink A6
00001D0C 4E75 rts
00001D0E 4E56 0000 link A6, 0
00001D12 4A2D F16E tst.b [A5 - 0xE92]
00001D16 6610 bne +0x12 /* 00001D28 */
00001D18 206E 000C movea.l A0, [A6 + 0xC]
00001D1C 2068 0170 movea.l A0, [A0 + 0x170]
00001D20 2050 movea.l A0, [A0]
00001D22 4A68 0024 tst.w [A0 + 0x24]
00001D26 6608 bne +0xA /* 00001D30 */
label00001D28:
00001D28 203C 07FF FFFF move.l D0, 0x7FFFFFF
00001D2E 6002 bra +0x4 /* 00001D32 */
label00001D30:
00001D30 7001 moveq.l D0, 0x01
label00001D32:
00001D32 4E5E unlink A6
00001D34 4E75 rts
00001D36 4E56 0000 link A6, 0
00001D3A 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00001D3E 4247 clr.w D7
00001D40 4A2D F17C tst.b [A5 - 0xE84]
00001D44 673C beq +0x3E /* 00001D82 */
00001D46 598F subq.l A7, 4
00001D48 A8D8 syscall NewRgn
00001D4A 265F movea.l A3, [A7]+
00001D4C 558F subq.l A7, 2
00001D4E 2F0B move.l -[A7], A3
00001D50 206E 000C movea.l A0, [A6 + 0xC]
00001D54 2F28 0170 move.l -[A7], [A0 + 0x170]
00001D58 3F3C 000F move.w -[A7], 0xF
00001D5C A83D syscall TEDispatch
00001D5E 558F subq.l A7, 2
00001D60 206E 0010 movea.l A0, [A6 + 0x10]
00001D64 2F10 move.l -[A7], [A0]
00001D66 2F0B move.l -[A7], A3
00001D68 A8E8 syscall PtInRgn
00001D6A 4A1F tst.b [A7]+
00001D6C 544F addq.w A7, 2
00001D6E 670E beq +0x10 /* 00001D7E */
00001D70 486D FE5A pea.l [A5 - 0x1A6]
00001D74 A851 syscall SetCursor
00001D76 2F0B move.l -[A7], A3
00001D78 A8D9 syscall DisposRgn/DisposeRgn
00001D7A 7064 moveq.l D0, 0x64
00001D7C 602A bra +0x2C /* 00001DA8 */
label00001D7E:
00001D7E 2F0B move.l -[A7], A3
00001D80 A8D9 syscall DisposRgn/DisposeRgn
label00001D82:
00001D82 598F subq.l A7, 4
00001D84 7001 moveq.l D0, 0x01
00001D86 3F00 move.w -[A7], D0
00001D88 A9B9 syscall GetCursor
00001D8A 285F movea.l A4, [A7]+
00001D8C 200C move.l D0, A4
00001D8E 6716 beq +0x18 /* 00001DA6 */
00001D90 204C movea.l A0, A4
00001D92 A069 syscall HGetState
00001D94 1C00 move.b D6, D0
00001D96 204C movea.l A0, A4
00001D98 A029 syscall HLock
00001D9A 2F14 move.l -[A7], [A4]
00001D9C A851 syscall SetCursor
00001D9E 204C movea.l A0, A4
00001DA0 1006 move.b D0, D6
00001DA2 A06A syscall HSetState
00001DA4 7E64 moveq.l D7, 0x64
label00001DA6:
00001DA6 3007 move.w D0, D7
label00001DA8:
00001DA8 4CEE 18C0 FFF0 movem.l D6,D7,A3,A4, [A6 - 0x10]
00001DAE 4E5E unlink A6
00001DB0 4E75 rts
00001DB2 4E56 FEDC link A6, -0x0124
00001DB6 48E7 1F38 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4
00001DBA 266E 0010 movea.l A3, [A6 + 0x10]
00001DBE 49EE FEE0 lea.l A4, [A6 - 0x120]
00001DC2 426E FFF0 clr.w [A6 - 0x10]
00001DC6 7801 moveq.l D4, 0x01
00001DC8 7000 moveq.l D0, 0x00
00001DCA 3F00 move.w -[A7], D0
00001DCC A887 syscall TextFont
00001DCE 7000 moveq.l D0, 0x00
00001DD0 3F00 move.w -[A7], D0
00001DD2 A88A syscall TextSize
00001DD4 7000 moveq.l D0, 0x00
00001DD6 3F00 move.w -[A7], D0
00001DD8 A888 syscall TextFace
00001DDA 486E FFE8 pea.l [A6 - 0x18]
00001DDE A88B syscall GetFontInfo
00001DE0 302E FFE8 move.w D0, [A6 - 0x18]
00001DE4 48C0 ext.l D0
00001DE6 322E FFEA move.w D1, [A6 - 0x16]
00001DEA 48C1 ext.l D1
00001DEC D280 add.l D1, D0
00001DEE 302E FFEE move.w D0, [A6 - 0x12]
00001DF2 48C0 ext.l D0
00001DF4 D081 add.l D0, D1
00001DF6 E388 lsl D0, 1
00001DF8 3D40 FFF2 move.w [A6 - 0xE], D0
00001DFC 206E 000C movea.l A0, [A6 + 0xC]
00001E00 2D68 0170 FFF4 move.l [A6 - 0xC], [A0 + 0x170]
00001E06 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00001E0A A9D9 syscall TEDeactivate
00001E0C 558F subq.l A7, 2
00001E0E 486E FFF4 pea.l [A6 - 0xC]
00001E12 4EAD 0132 jsr [A5 + 0x132 /* export_34 */]
00001E16 3D5F FFF0 move.w [A6 - 0x10], [A7]+
00001E1A 6600 022E bne +0x230 /* 0000204A */
00001E1E 558F subq.l A7, 2
00001E20 7002 moveq.l D0, 0x02
00001E22 3F00 move.w -[A7], D0
00001E24 7200 moveq.l D1, 0x00
00001E26 3F01 move.w -[A7], D1
00001E28 206E 000C movea.l A0, [A6 + 0xC]
00001E2C 2F28 0170 move.l -[A7], [A0 + 0x170]
00001E30 3F3C 000E move.w -[A7], 0xE
00001E34 A83D syscall TEDispatch
00001E36 41ED F222 lea.l A0, [A5 - 0xDDE]
00001E3A 226E FFF4 movea.l A1, [A6 - 0xC]
00001E3E 2251 movea.l A1, [A1]
00001E40 2348 005A move.l [A1 + 0x5A], A0
00001E44 41EE FFF8 lea.l A0, [A6 - 0x8]
00001E48 224B movea.l A1, A3
00001E4A 20D9 move.l [A0]+, [A1]+
00001E4C 20D9 move.l [A0]+, [A1]+
00001E4E 302E FFF2 move.w D0, [A6 - 0xE]
00001E52 916E FFFC sub.w [A6 - 0x4], D0
00001E56 4A2D F179 tst.b [A5 - 0xE87]
00001E5A 544F addq.w A7, 2
00001E5C 670E beq +0x10 /* 00001E6C */
00001E5E 486E FFF8 pea.l [A6 - 0x8]
00001E62 700A moveq.l D0, 0x0A
00001E64 3F00 move.w -[A7], D0
00001E66 3F00 move.w -[A7], D0
00001E68 A8A9 syscall InsetRect
00001E6A 600C bra +0xE /* 00001E78 */
label00001E6C:
00001E6C 486E FFF8 pea.l [A6 - 0x8]
00001E70 7005 moveq.l D0, 0x05
00001E72 3F00 move.w -[A7], D0
00001E74 3F00 move.w -[A7], D0
00001E76 A8A9 syscall InsetRect
label00001E78:
00001E78 206E FFF4 movea.l A0, [A6 - 0xC]
00001E7C 2050 movea.l A0, [A0]
00001E7E 43EE FFF8 lea.l A1, [A6 - 0x8]
00001E82 45D0 lea.l A2, [A0]
00001E84 24D9 move.l [A2]+, [A1]+
00001E86 24D9 move.l [A2]+, [A1]+
00001E88 226E FFF4 movea.l A1, [A6 - 0xC]
00001E8C 2251 movea.l A1, [A1]
00001E8E 5089 addq.l A1, 8
00001E90 22D8 move.l [A1]+, [A0]+
00001E92 22D8 move.l [A1]+, [A0]+
00001E94 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00001E98 A9D0 syscall TECalText
00001E9A 206E FFF4 movea.l A0, [A6 - 0xC]
00001E9E 2050 movea.l A0, [A0]
00001EA0 216D FEC6 0052 move.l [A0 + 0x52], [A5 - 0x13A]
00001EA6 206E FFF4 movea.l A0, [A6 - 0xC]
00001EAA 2050 movea.l A0, [A0]
00001EAC 43EE FFE4 lea.l A1, [A6 - 0x1C]
00001EB0 5088 addq.l A0, 8
00001EB2 22D8 move.l [A1]+, [A0]+
00001EB4 22D8 move.l [A1]+, [A0]+
00001EB6 4247 clr.w D7
00001EB8 7600 moveq.l D3, 0x00
00001EBA 6000 0150 bra +0x152 /* 0000200C */
label00001EBE:
00001EBE 7A00 moveq.l D5, 0x00
label00001EC0:
00001EC0 598F subq.l A7, 4
00001EC2 48C7 ext.l D7
00001EC4 2007 move.l D0, D7
00001EC6 5280 addq.l D0, 1
00001EC8 2F00 move.l -[A7], D0
00001ECA 48C7 ext.l D7
00001ECC 2007 move.l D0, D7
00001ECE 5280 addq.l D0, 1
00001ED0 2F00 move.l -[A7], D0
00001ED2 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00001ED6 3F3C 0009 move.w -[A7], 0x9 /* '\t' */
00001EDA A83D syscall TEDispatch
00001EDC 2C1F move.l D6, [A7]+
00001EDE 2006 move.l D0, D6
00001EE0 D085 add.l D0, D5
00001EE2 322E FFFC move.w D1, [A6 - 0x4]
00001EE6 48C1 ext.l D1
00001EE8 342E FFF8 move.w D2, [A6 - 0x8]
00001EEC 48C2 ext.l D2
00001EEE 9282 sub.l D1, D2
00001EF0 B280 cmp.l D1, D0
00001EF2 6D10 blt +0x12 /* 00001F04 */
00001EF4 5247 addq.w D7, 1
00001EF6 DA86 add.l D5, D6
00001EF8 206E FFF4 movea.l A0, [A6 - 0xC]
00001EFC 2050 movea.l A0, [A0]
00001EFE BE68 005E cmp.w D7, [A0 + 0x5E]
00001F02 6DBC blt -0x42 /* 00001EC0 */
label00001F04:
00001F04 48C4 ext.l D4
00001F06 206E 0014 movea.l A0, [A6 + 0x14]
00001F0A B890 cmp.l D4, [A0]
00001F0C 6600 00FA bne +0xFC /* 00002008 */
00001F10 598F subq.l A7, 4
00001F12 A8D8 syscall NewRgn
00001F14 2D5F FFE0 move.l [A6 - 0x20], [A7]+
00001F18 486E FFE4 pea.l [A6 - 0x1C]
00001F1C 7000 moveq.l D0, 0x00
00001F1E 3F00 move.w -[A7], D0
00001F20 2203 move.l D1, D3
00001F22 4481 neg.l D1
00001F24 3F01 move.w -[A7], D1
00001F26 A8A8 syscall OffsetRect
00001F28 3005 move.w D0, D5
00001F2A D06E FFE4 add.w D0, [A6 - 0x1C]
00001F2E 3D40 FFE8 move.w [A6 - 0x18], D0
00001F32 206E FFF4 movea.l A0, [A6 - 0xC]
00001F36 2050 movea.l A0, [A0]
00001F38 43EE FFE4 lea.l A1, [A6 - 0x1C]
00001F3C 20D9 move.l [A0]+, [A1]+
00001F3E 20D9 move.l [A0]+, [A1]+
00001F40 3005 move.w D0, D5
00001F42 D06E FFF8 add.w D0, [A6 - 0x8]
00001F46 3D40 FFFC move.w [A6 - 0x4], D0
00001F4A 2F2E FFE0 move.l -[A7], [A6 - 0x20]
00001F4E A87A syscall GetClip
00001F50 486E FFF8 pea.l [A6 - 0x8]
00001F54 A87B syscall ClipRect
00001F56 486E FFF8 pea.l [A6 - 0x8]
00001F5A 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00001F5E A9D3 syscall TEUpdate
00001F60 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00001F64 2F2E 000C move.l -[A7], [A6 + 0xC]
00001F68 4EBA E3DE jsr [PC - 0x1C22 /* 00000348 */]
00001F6C 2F2E FFE0 move.l -[A7], [A6 - 0x20]
00001F70 A879 syscall SetClip
00001F72 2F2E FFE0 move.l -[A7], [A6 - 0x20]
00001F76 A8D9 syscall DisposRgn/DisposeRgn
00001F78 18BC 0002 move.b [A4], 0x2
00001F7C 197C 002D 0001 move.b [A4 + 0x1], 0x2D /* '-' */
00001F82 206E 0014 movea.l A0, [A6 + 0x14]
00001F86 2F10 move.l -[A7], [A0]
00001F88 486C 0002 pea.l [A4 + 0x2]
00001F8C 4EAD 0152 jsr [A5 + 0x152 /* export_38 */]
00001F90 102C 0002 move.b D0, [A4 + 0x2]
00001F94 D114 add.b [A4], D0
00001F96 197C 0020 0002 move.b [A4 + 0x2], 0x20 /* ' ' */
00001F9C 5214 addq.b [A4], 1
00001F9E 7000 moveq.l D0, 0x00
00001FA0 1014 move.b D0, [A4]
00001FA2 19BC 0020 0000 move.b [A4 + D0.w], 0x20 /* ' ' */
00001FA8 5214 addq.b [A4], 1
00001FAA 7000 moveq.l D0, 0x00
00001FAC 1014 move.b D0, [A4]
00001FAE 19BC 002D 0000 move.b [A4 + D0.w], 0x2D /* '-' */
00001FB4 302B 0002 move.w D0, [A3 + 0x2]
00001FB8 48C0 ext.l D0
00001FBA 322B 0006 move.w D1, [A3 + 0x6]
00001FBE 48C1 ext.l D1
00001FC0 342B 0002 move.w D2, [A3 + 0x2]
00001FC4 48C2 ext.l D2
00001FC6 9282 sub.l D1, D2
00001FC8 E281 asr D1, 1
00001FCA D280 add.l D1, D0
00001FCC 2D41 FEDC move.l [A6 - 0x124], D1
00001FD0 558F subq.l A7, 2
00001FD2 2F0C move.l -[A7], A4
00001FD4 A88C syscall StringWidth
00001FD6 301F move.w D0, [A7]+
00001FD8 E240 asr D0.w, 1
00001FDA 222E FEDC move.l D1, [A6 - 0x124]
00001FDE 9240 sub.w D1, D0
00001FE0 3F01 move.w -[A7], D1
00001FE2 302B 0004 move.w D0, [A3 + 0x4]
00001FE6 5B40 subq.w D0, 5
00001FE8 3F00 move.w -[A7], D0
00001FEA A893 syscall MoveTo
00001FEC 2F0C move.l -[A7], A4
00001FEE A884 syscall DrawString
00001FF0 206E FFF4 movea.l A0, [A6 - 0xC]
00001FF4 2050 movea.l A0, [A0]
00001FF6 BE68 005E cmp.w D7, [A0 + 0x5E]
00001FFA 504F addq.w A7, 8
00001FFC 6D1A blt +0x1C /* 00002018 */
00001FFE 206E 0014 movea.l A0, [A6 + 0x14]
00002002 70FF moveq.l D0, 0xFFFFFFFF
00002004 2080 move.l [A0], D0
00002006 6010 bra +0x12 /* 00002018 */
label00002008:
00002008 5244 addq.w D4, 1
0000200A D685 add.l D3, D5
label0000200C:
0000200C 48C4 ext.l D4
0000200E 206E 0014 movea.l A0, [A6 + 0x14]
00002012 B890 cmp.l D4, [A0]
00002014 6F00 FEA8 ble -0x156 /* 00001EBE */
label00002018:
00002018 206E 0014 movea.l A0, [A6 + 0x14]
0000201C 70FF moveq.l D0, 0xFFFFFFFF
0000201E B090 cmp.l D0, [A0]
00002020 6622 bne +0x24 /* 00002044 */
00002022 206E 000C movea.l A0, [A6 + 0xC]
00002026 2F28 0170 move.l -[A7], [A0 + 0x170]
0000202A A9D0 syscall TECalText
0000202C 206E 000C movea.l A0, [A6 + 0xC]
00002030 0CA8 7474 726F 00A0 cmpi.l [A0 + 0xA0], 0x7474726F /* 'ttro' */
00002038 670A beq +0xC /* 00002044 */
0000203A 206E 000C movea.l A0, [A6 + 0xC]
0000203E 2F28 0170 move.l -[A7], [A0 + 0x170]
00002042 A9D8 syscall TEActivate
label00002044:
00002044 206E FFF4 movea.l A0, [A6 - 0xC]
00002048 A023 syscall DisposHandle/DisposeHandle
label0000204A:
0000204A 302E FFF0 move.w D0, [A6 - 0x10]
0000204E 4CEE 1CF8 FEBC movem.l D3,D4,D5,D6,D7,A2,A3,A4, [A6 - 0x144]
00002054 4E5E unlink A6
00002056 4E75 rts
00002058 4E56 FD7C link A6, -0x0284
0000205C 48E7 1F38 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4
00002060 246E 000C movea.l A2, [A6 + 0xC]
00002064 49EE FD7C lea.l A4, [A6 - 0x284]
00002068 4244 clr.w D4
0000206A 157C 0001 00F1 move.b [A2 + 0xF1], 0x1
00002070 41FA EDF4 lea.l A0, [PC - 0x120C /* 00000E66, value 0x4E560000 'NV\0\0', cstring "NV" */]
00002074 2548 0108 move.l [A2 + 0x108], A0
00002078 41FA F012 lea.l A0, [PC - 0xFEE /* 0000108C, value 0x4E560000 'NV\0\0', cstring "NV" */]
0000207C 2548 010C move.l [A2 + 0x10C], A0
00002080 41FA FBE6 lea.l A0, [PC - 0x41A /* 00001C68, value 0x4E56FFF0 */]
00002084 2548 0104 move.l [A2 + 0x104], A0
00002088 41FA F6DE lea.l A0, [PC - 0x922 /* 00001768, value 0x4E56FDF2 */]
0000208C 2548 012C move.l [A2 + 0x12C], A0
00002090 41FA F03C lea.l A0, [PC - 0xFC4 /* 000010CE, value 0x4E56FD80 */]
00002094 2548 0138 move.l [A2 + 0x138], A0
00002098 41FA ECB2 lea.l A0, [PC - 0x134E /* 00000D4C, value 0x4E560000 'NV\0\0', cstring "NV" */]
0000209C 2548 0100 move.l [A2 + 0x100], A0
000020A0 41FA ED5A lea.l A0, [PC - 0x12A6 /* 00000DFC, value 0x4E56FFF8 */]
000020A4 2548 0120 move.l [A2 + 0x120], A0
000020A8 41FA ECF8 lea.l A0, [PC - 0x1308 /* 00000DA2, value 0x4E560000 'NV\0\0', cstring "NV" */]
000020AC 2548 0124 move.l [A2 + 0x124], A0
000020B0 41FA EC4A lea.l A0, [PC - 0x13B6 /* 00000CFC, value 0x4E56FFF8 */]
000020B4 2548 0128 move.l [A2 + 0x128], A0
000020B8 41FA FCF8 lea.l A0, [PC - 0x308 /* 00001DB2, value 0x4E56FEDC */]
000020BC 2548 013C move.l [A2 + 0x13C], A0
000020C0 0CAA 7474 726F 00A0 cmpi.l [A2 + 0xA0], 0x7474726F /* 'ttro' */
000020C8 673E beq +0x40 /* 00002108 */
000020CA 41FA EDC6 lea.l A0, [PC - 0x123A /* 00000E92, value 0x4E560000 'NV\0\0', cstring "NV" */]
000020CE 2548 0130 move.l [A2 + 0x130], A0
000020D2 41FA EEF2 lea.l A0, [PC - 0x110E /* 00000FC6, value 0x4E56FFF8 */]
000020D6 2548 0134 move.l [A2 + 0x134], A0
000020DA 41FA FC5A lea.l A0, [PC - 0x3A6 /* 00001D36, value 0x4E560000 'NV\0\0', cstring "NV" */]
000020DE 2548 0110 move.l [A2 + 0x110], A0
000020E2 41FA FC18 lea.l A0, [PC - 0x3E8 /* 00001CFC, value 0x4E560000 'NV\0\0', cstring "NV" */]
000020E6 2548 0114 move.l [A2 + 0x114], A0
000020EA 41FA FC22 lea.l A0, [PC - 0x3DE /* 00001D0E, value 0x4E560000 'NV\0\0', cstring "NV" */]
000020EE 2548 0140 move.l [A2 + 0x140], A0
000020F2 41FA 0942 lea.l A0, [PC + 0x942 /* 00002A36, value 0x4E56FFEE */]
000020F6 2548 0118 move.l [A2 + 0x118], A0
000020FA 41FA 0BFC lea.l A0, [PC + 0xBFC /* 00002CF8, value 0x4E56FFD0 */]
000020FE 2548 011C move.l [A2 + 0x11C], A0
00002102 157C 0001 00F5 move.b [A2 + 0xF5], 0x1
label00002108:
00002108 157C 0001 014C move.b [A2 + 0x14C], 0x1
0000210E 046A 000F 0152 subi.w [A2 + 0x152], 0xF
00002114 302A 0154 move.w D0, [A2 + 0x154]
00002118 48C0 ext.l D0
0000211A 322A 0150 move.w D1, [A2 + 0x150]
0000211E 48C1 ext.l D1
00002120 9081 sub.l D0, D1
00002122 0C80 0000 0258 cmpi.l D0, 0x258
00002128 6F0C ble +0xE /* 00002136 */
0000212A 302A 0150 move.w D0, [A2 + 0x150]
0000212E D07C 0258 add.w D0, 0x258
00002132 3540 0154 move.w [A2 + 0x154], D0
label00002136:
00002136 598F subq.l A7, 4
00002138 486A 014E pea.l [A2 + 0x14E]
0000213C 486A 014E pea.l [A2 + 0x14E]
00002140 A83E syscall TEStyleNew
00002142 255F 0170 move.l [A2 + 0x170], [A7]+
00002146 3838 0220 move.w D4, [0x00000220 /* MemErr */]
0000214A 6600 0432 bne +0x434 /* 0000257E */
0000214E 426A 015E clr.w [A2 + 0x15E]
00002152 598F subq.l A7, 4
00002154 7000 moveq.l D0, 0x00
00002156 2F00 move.l -[A7], D0
00002158 2F00 move.l -[A7], D0
0000215A 2F2A 0170 move.l -[A7], [A2 + 0x170]
0000215E 3F3C 0009 move.w -[A7], 0x9 /* '\t' */
00002162 A83D syscall TEDispatch
00002164 201F move.l D0, [A7]+
00002166 3540 0160 move.w [A2 + 0x160], D0
0000216A 7001 moveq.l D0, 0x01
0000216C 1F00 move.b -[A7], D0
0000216E 2F2A 0170 move.l -[A7], [A2 + 0x170]
00002172 A813 syscall TEAutoView
00002174 206A 0170 movea.l A0, [A2 + 0x170]
00002178 2050 movea.l A0, [A0]
0000217A 2568 002A 016C move.l [A2 + 0x16C], [A0 + 0x2A]
00002180 41ED 00BA lea.l A0, [A5 + 0xBA /* export_19 */]
00002184 226A 0170 movea.l A1, [A2 + 0x170]
00002188 2251 movea.l A1, [A1]
0000218A 2348 002A move.l [A1 + 0x2A], A0
0000218E 70FF moveq.l D0, 0xFFFFFFFF
00002190 B06A 00EA cmp.w D0, [A2 + 0xEA]
00002194 6700 0086 beq +0x88 /* 0000221C */
00002198 558F subq.l A7, 2
0000219A 3F2A 00EA move.w -[A7], [A2 + 0xEA]
0000219E 486E FFFC pea.l [A6 - 0x4]
000021A2 4EAD 0112 jsr [A5 + 0x112 /* export_30 */]
000021A6 0CAE 0000 7C00 FFFC cmpi.l [A6 - 0x4], 0x7C00 /* '|\0' */
000021AE 544F addq.w A7, 2
000021B0 6F06 ble +0x8 /* 000021B8 */
000021B2 383C 00C8 move.w D4, 0xC8
000021B6 6064 bra +0x66 /* 0000221C */
label000021B8:
000021B8 202E FFFC move.l D0, [A6 - 0x4]
000021BC A122 syscall NewHandle, flags=1
000021BE 2D48 FFEA move.l [A6 - 0x16], A0
000021C2 3838 0220 move.w D4, [0x00000220 /* MemErr */]
000021C6 6654 bne +0x56 /* 0000221C */
000021C8 558F subq.l A7, 2
000021CA 3F2A 00EA move.w -[A7], [A2 + 0xEA]
000021CE 7001 moveq.l D0, 0x01
000021D0 3F00 move.w -[A7], D0
000021D2 7200 moveq.l D1, 0x00
000021D4 2F01 move.l -[A7], D1
000021D6 4EAD 0122 jsr [A5 + 0x122 /* export_32 */]
000021DA 558F subq.l A7, 2
000021DC 3F2A 00EA move.w -[A7], [A2 + 0xEA]
000021E0 486E FFFC pea.l [A6 - 0x4]
000021E4 206E FFEA movea.l A0, [A6 - 0x16]
000021E8 2F10 move.l -[A7], [A0]
000021EA 4EAD 0102 jsr [A5 + 0x102 /* export_28 */]
000021EE 381F move.w D4, [A7]+
000021F0 544F addq.w A7, 2
000021F2 6622 bne +0x24 /* 00002216 */
000021F4 206E FFEA movea.l A0, [A6 - 0x16]
000021F8 A029 syscall HLock
000021FA 206E FFEA movea.l A0, [A6 - 0x16]
000021FE 2F10 move.l -[A7], [A0]
00002200 2F2E FFFC move.l -[A7], [A6 - 0x4]
00002204 7000 moveq.l D0, 0x00
00002206 2F00 move.l -[A7], D0
00002208 2F2A 0170 move.l -[A7], [A2 + 0x170]
0000220C 3F3C 0007 move.w -[A7], 0x7
00002210 A83D syscall TEDispatch
00002212 3838 0220 move.w D4, [0x00000220 /* MemErr */]
label00002216:
00002216 206E FFEA movea.l A0, [A6 - 0x16]
0000221A A023 syscall DisposHandle/DisposeHandle
label0000221C:
0000221C 4A44 tst.w D4
0000221E 6600 0358 bne +0x35A /* 00002578 */
00002222 70FF moveq.l D0, 0xFFFFFFFF
00002224 B06A 00EC cmp.w D0, [A2 + 0xEC]
00002228 6770 beq +0x72 /* 0000229A */
0000222A 558F subq.l A7, 2
0000222C A994 syscall CurResFile
0000222E 361F move.w D3, [A7]+
00002230 3F2A 00EC move.w -[A7], [A2 + 0xEC]
00002234 A998 syscall UseResFile
00002236 598F subq.l A7, 4
00002238 2F3C 7374 796C move.l -[A7], 0x7374796C /* 'styl' */
0000223E 3F3C 0080 move.w -[A7], 0x80
00002242 A81F syscall Get1Resource
00002244 2D5F FFFC move.l [A6 - 0x4], [A7]+
00002248 6726 beq +0x28 /* 00002270 */
0000224A 206E FFFC movea.l A0, [A6 - 0x4]
0000224E A04A syscall HNoPurge
00002250 7000 moveq.l D0, 0x00
00002252 2F00 move.l -[A7], D0
00002254 4878 7FFF push.l 0x7FFF
00002258 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000225C 7201 moveq.l D1, 0x01
0000225E 1F01 move.b -[A7], D1
00002260 2F2A 0170 move.l -[A7], [A2 + 0x170]
00002264 3F3C 000B move.w -[A7], 0xB
00002268 A83D syscall TEDispatch
0000226A 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000226E A9A3 syscall ReleaseResource
label00002270:
00002270 598F subq.l A7, 4
00002272 2F3C 736E 6420 move.l -[A7], 0x736E6420 /* 'snd ' */
00002278 3F3C 2710 move.w -[A7], 0x2710
0000227C A81F syscall Get1Resource
0000227E 2D5F FFEA move.l [A6 - 0x16], [A7]+
00002282 6712 beq +0x14 /* 00002296 */
00002284 206E FFEA movea.l A0, [A6 - 0x16]
00002288 A04A syscall HNoPurge
0000228A 2F2E FFEA move.l -[A7], [A6 - 0x16]
0000228E A992 syscall DetachResource
00002290 256E FFEA 0174 move.l [A2 + 0x174], [A6 - 0x16]
label00002296:
00002296 3F03 move.w -[A7], D3
00002298 A998 syscall UseResFile
label0000229A:
0000229A 0CAA 7474 726F 00A0 cmpi.l [A2 + 0xA0], 0x7474726F /* 'ttro' */
000022A2 661C bne +0x1E /* 000022C0 */
000022A4 41ED 00C2 lea.l A0, [A5 + 0xC2 /* export_20 */]
000022A8 2D48 FFFC move.l [A6 - 0x4], A0
000022AC 7001 moveq.l D0, 0x01
000022AE 3F00 move.w -[A7], D0
000022B0 486E FFFC pea.l [A6 - 0x4]
000022B4 2F2A 0170 move.l -[A7], [A2 + 0x170]
000022B8 3F3C 000C move.w -[A7], 0xC
000022BC A83D syscall TEDispatch
000022BE 6016 bra +0x18 /* 000022D6 */
label000022C0:
000022C0 558F subq.l A7, 2
000022C2 7002 moveq.l D0, 0x02
000022C4 3F00 move.w -[A7], D0
000022C6 7201 moveq.l D1, 0x01
000022C8 3F01 move.w -[A7], D1
000022CA 2F2A 0170 move.l -[A7], [A2 + 0x170]
000022CE 3F3C 000E move.w -[A7], 0xE
000022D2 A83D syscall TEDispatch
000022D4 544F addq.w A7, 2
label000022D6:
000022D6 0CAA 7474 726F 00A0 cmpi.l [A2 + 0xA0], 0x7474726F /* 'ttro' */
000022DE 6700 0086 beq +0x88 /* 00002366 */
000022E2 4A2D F17B tst.b [A5 - 0xE85]
000022E6 677E beq +0x80 /* 00002366 */
000022E8 2D7C 746D 5445 FFFC move.l [A6 - 0x4], 0x746D5445 /* 'tmTE' */
000022F0 558F subq.l A7, 2
000022F2 7001 moveq.l D0, 0x01
000022F4 3F00 move.w -[A7], D0
000022F6 486E FFFC pea.l [A6 - 0x4]
000022FA 486A 0166 pea.l [A2 + 0x166]
000022FE 486A 0162 pea.l [A2 + 0x162]
00002302 303C 0000 move.w D0, 0x0
00002306 AA54 syscall TextServicesDispatch
00002308 4A5F tst.w [A7]+
0000230A 665A bne +0x5C /* 00002366 */
0000230C 206A 0162 movea.l A0, [A2 + 0x162]
00002310 2050 movea.l A0, [A0]
00002312 20AA 0170 move.l [A0], [A2 + 0x170]
00002316 203C 746D 5456 move.l D0, 0x746D5456 /* 'tmTV' */
0000231C 41EE FFEA lea.l A0, [A6 - 0x16]
00002320 2248 movea.l A1, A0
00002322 A1AD syscall Gestalt, flags=1
00002324 2288 move.l [A1], A0
00002326 4A40 tst.w D0
00002328 6618 bne +0x1A /* 00002342 */
0000232A 0CAE 0000 0100 FFEA cmpi.l [A6 - 0x16], 0x100
00002332 660E bne +0x10 /* 00002342 */
00002334 41FA E394 lea.l A0, [PC - 0x1C6C /* 000006CA, value 0x4E56FFF2 */]
00002338 226A 0162 movea.l A1, [A2 + 0x162]
0000233C 2251 movea.l A1, [A1]
0000233E 2348 0004 move.l [A1 + 0x4], A0
label00002342:
00002342 41FA E40A lea.l A0, [PC - 0x1BF6 /* 0000074E, value 0x4E560000 'NV\0\0', cstring "NV" */]
00002346 226A 0162 movea.l A1, [A2 + 0x162]
0000234A 2251 movea.l A1, [A1]
0000234C 2348 0008 move.l [A1 + 0x8], A0
00002350 206A 0162 movea.l A0, [A2 + 0x162]
00002354 2050 movea.l A0, [A0]
00002356 7001 moveq.l D0, 0x01
00002358 2140 000C move.l [A0 + 0xC], D0
0000235C 206A 0162 movea.l A0, [A2 + 0x162]
00002360 2050 movea.l A0, [A0]
00002362 214A 0010 move.l [A0 + 0x10], A2
label00002366:
00002366 7000 moveq.l D0, 0x00
00002368 2F00 move.l -[A7], D0
0000236A 2F00 move.l -[A7], D0
0000236C 2F2A 0170 move.l -[A7], [A2 + 0x170]
00002370 A9D1 syscall TESetSelect
00002372 7001 moveq.l D0, 0x01
00002374 2F00 move.l -[A7], D0
00002376 2F0A move.l -[A7], A2
00002378 4EBA DD58 jsr [PC - 0x22A8 /* 000000D2 */]
0000237C 7001 moveq.l D0, 0x01
0000237E 2F00 move.l -[A7], D0
00002380 2F0A move.l -[A7], A2
00002382 4EBA DCE4 jsr [PC - 0x231C /* 00000068 */]
00002386 0CAA 7474 726F 00A0 cmpi.l [A2 + 0xA0], 0x7474726F /* 'ttro' */
0000238E 4FEF 0010 lea.l A7, [A7 + 0x10]
00002392 6714 beq +0x16 /* 000023A8 */
00002394 701F moveq.l D0, 0x1F
00002396 3F00 move.w -[A7], D0
00002398 2F2A 0170 move.l -[A7], [A2 + 0x170]
0000239C A9DC syscall TEKey
0000239E 701E moveq.l D0, 0x1E
000023A0 3F00 move.w -[A7], D0
000023A2 2F2A 0170 move.l -[A7], [A2 + 0x170]
000023A6 A9DC syscall TEKey
label000023A8:
000023A8 70FF moveq.l D0, 0xFFFFFFFF
000023AA B06A 00EA cmp.w D0, [A2 + 0xEA]
000023AE 666E bne +0x70 /* 0000241E */
000023B0 2D6A 0170 FFEE move.l [A6 - 0x12], [A2 + 0x170]
000023B6 3D7C 000F FFF2 move.w [A6 - 0xE], 0xF
000023BC 558F subq.l A7, 2
000023BE 486E FFF2 pea.l [A6 - 0xE]
000023C2 486E FFF4 pea.l [A6 - 0xC]
000023C6 2F2E FFEE move.l -[A7], [A6 - 0x12]
000023CA 3F3C 000A move.w -[A7], 0xA /* '\n' */
000023CE A83D syscall TEDispatch
000023D0 4A6E FFF8 tst.w [A6 - 0x8]
000023D4 544F addq.w A7, 2
000023D6 6610 bne +0x12 /* 000023E8 */
000023D8 558F subq.l A7, 2
000023DA 3EB8 0BA8 move.w [A7], [0x00000BA8 /* DefFontSize */]
000023DE 6604 bne +0x6 /* 000023E4 */
000023E0 3EBC 000C move.w [A7], 0xC
label000023E4:
000023E4 3D5F FFF8 move.w [A6 - 0x8], [A7]+
label000023E8:
000023E8 4A6E FFF4 tst.w [A6 - 0xC]
000023EC 6606 bne +0x8 /* 000023F4 */
000023EE 3D78 0BA6 FFF4 move.w [A6 - 0xC], [0x00000BA6 /* SysFontFam */]
label000023F4:
000023F4 7001 moveq.l D0, 0x01
000023F6 B06E FFF4 cmp.w D0, [A6 - 0xC]
000023FA 6606 bne +0x8 /* 00002402 */
000023FC 3D78 0984 FFF4 move.w [A6 - 0xC], [0x00000984 /* AppFontID */]
label00002402:
00002402 3D7C 000F FFF2 move.w [A6 - 0xE], 0xF
00002408 3F2E FFF2 move.w -[A7], [A6 - 0xE]
0000240C 486E FFF4 pea.l [A6 - 0xC]
00002410 7000 moveq.l D0, 0x00
00002412 1F00 move.b -[A7], D0
00002414 2F2E FFEE move.l -[A7], [A6 - 0x12]
00002418 3F3C 0001 move.w -[A7], 0x1
0000241C A83D syscall TEDispatch
label0000241E:
0000241E 0CAA 7345 5854 00A0 cmpi.l [A2 + 0xA0], 0x73455854 /* 'sEXT' */
00002426 663C bne +0x3E /* 00002464 */
00002428 257C 5445 5854 00A0 move.l [A2 + 0xA0], 0x54455854 /* 'TEXT' */
00002430 157C 0001 00F2 move.b [A2 + 0xF2], 0x1
00002436 70FF moveq.l D0, 0xFFFFFFFF
00002438 B06A 00EC cmp.w D0, [A2 + 0xEC]
0000243C 6706 beq +0x8 /* 00002444 */
0000243E 3F2A 00EC move.w -[A7], [A2 + 0xEC]
00002442 A99A syscall CloseResFile
label00002444:
00002444 70FF moveq.l D0, 0xFFFFFFFF
00002446 B06A 00EA cmp.w D0, [A2 + 0xEA]
0000244A 670C beq +0xE /* 00002458 */
0000244C 558F subq.l A7, 2
0000244E 3F2A 00EA move.w -[A7], [A2 + 0xEA]
00002452 4EAD 00FA jsr [A5 + 0xFA /* export_27 */]
00002456 544F addq.w A7, 2
label00002458:
00002458 357C FFFF 00EA move.w [A2 + 0xEA], 0xFFFF
0000245E 357C FFFF 00EC move.w [A2 + 0xEC], 0xFFFF
label00002464:
00002464 4A2D F178 tst.b [A5 - 0xE88]
00002468 6700 010A beq +0x10C /* 00002574 */
0000246C 4A2D F266 tst.b [A5 - 0xD9A]
00002470 6600 0102 bne +0x104 /* 00002574 */
00002474 558F subq.l A7, 2
00002476 486E FFFE pea.l [A6 - 0x2]
0000247A 203C 0108 000C move.l D0, 0x108000C
00002480 A800 syscall SoundDispatch
00002482 4A5F tst.w [A7]+
00002484 6600 00EE bne +0xF0 /* 00002574 */
00002488 598F subq.l A7, 4
0000248A 3F3C 0087 move.w -[A7], 0x87
0000248E A949 syscall GetMenuHandle
00002490 265F movea.l A3, [A7]+
00002492 558F subq.l A7, 2
00002494 7000 moveq.l D0, 0x00
00002496 2F00 move.l -[A7], D0
00002498 486E FE84 pea.l [A6 - 0x17C]
0000249C 4878 016A push.l 0x16A
000024A0 203C 0610 000C move.l D0, 0x610000C
000024A6 A800 syscall SoundDispatch
000024A8 381F move.w D4, [A7]+
000024AA 6600 00C2 bne +0xC4 /* 0000256E */
000024AE 41ED F26C lea.l A0, [A5 - 0xD94]
000024B2 43EE FE88 lea.l A1, [A6 - 0x178]
000024B6 20D9 move.l [A0]+, [A1]+
000024B8 20D9 move.l [A0]+, [A1]+
000024BA 7A01 moveq.l D5, 0x01
000024BC 6000 00A8 bra +0xAA /* 00002566 */
label000024C0:
000024C0 558F subq.l A7, 2
000024C2 3F05 move.w -[A7], D5
000024C4 486E FE7C pea.l [A6 - 0x184]
000024C8 203C 030C 000C move.l D0, 0x30C000C
000024CE A800 syscall SoundDispatch
000024D0 4A5F tst.w [A7]+
000024D2 6600 0090 bne +0x92 /* 00002564 */
000024D6 558F subq.l A7, 2
000024D8 486E FE7C pea.l [A6 - 0x184]
000024DC 486E FE84 pea.l [A6 - 0x17C]
000024E0 4878 016A push.l 0x16A
000024E4 203C 0610 000C move.l D0, 0x610000C
000024EA A800 syscall SoundDispatch
000024EC 4A5F tst.w [A7]+
000024EE 6674 bne +0x76 /* 00002564 */
000024F0 558F subq.l A7, 2
000024F2 2F0B move.l -[A7], A3
000024F4 A950 syscall CountMItems
000024F6 3C1F move.w D6, [A7]+
000024F8 0C45 0001 cmpi.w D5, 0x1
000024FC 660E bne +0x10 /* 0000250C */
000024FE 4A46 tst.w D6
00002500 6F0A ble +0xC /* 0000250C */
00002502 2F0B move.l -[A7], A3
00002504 7001 moveq.l D0, 0x01
00002506 3F00 move.w -[A7], D0
00002508 A952 syscall DeleteMenuItem/DelMenuItem
0000250A 5346 subq.w D6, 1
label0000250C:
0000250C 7E01 moveq.l D7, 0x01
0000250E 601C bra +0x1E /* 0000252C */
label00002510:
00002510 2F0B move.l -[A7], A3
00002512 3F07 move.w -[A7], D7
00002514 2F0C move.l -[A7], A4
00002516 A946 syscall GetMenuItemText/GetItem
00002518 558F subq.l A7, 2
0000251A 2F0C move.l -[A7], A4
0000251C 486E FE94 pea.l [A6 - 0x16C]
00002520 4EAD 014A jsr [A5 + 0x14A /* export_37 */]
00002524 7001 moveq.l D0, 0x01
00002526 B05F cmp.w D0, [A7]+
00002528 6706 beq +0x8 /* 00002530 */
0000252A 5247 addq.w D7, 1
label0000252C:
0000252C BC47 cmp.w D6, D7
0000252E 6CE0 bge -0x1E /* 00002510 */
label00002530:
00002530 2F0B move.l -[A7], A3
00002532 487A 0056 pea.l [PC + 0x56 /* 0000258A, value 0x1200000 */]
00002536 3007 move.w D0, D7
00002538 5340 subq.w D0, 1
0000253A 3F00 move.w -[A7], D0
0000253C A826 syscall InsertMenuItem/InsMenuItem
0000253E 2F0B move.l -[A7], A3
00002540 3F07 move.w -[A7], D7
00002542 486E FE94 pea.l [A6 - 0x16C]
00002546 A947 syscall SetMenuItemText/SetItem
00002548 2F0B move.l -[A7], A3
0000254A 3F07 move.w -[A7], D7
0000254C 41ED F26C lea.l A0, [A5 - 0xD94]
00002550 43EE FE7C lea.l A1, [A6 - 0x184]
00002554 7001 moveq.l D0, 0x01
label00002556:
00002556 B189 cmpm.l [A0]+, [A1]+
00002558 56C8 FFFC dbne D0, -0x6 /* 00002556 */
0000255C 57C0 seq D0
0000255E 4400 neg.b D0
00002560 1F00 move.b -[A7], D0
00002562 A945 syscall CheckItem
label00002564:
00002564 5245 addq.w D5, 1
label00002566:
00002566 BA6E FFFE cmp.w D5, [A6 - 0x2]
0000256A 6F00 FF54 ble -0xAA /* 000024C0 */
label0000256E:
0000256E 1B7C 0001 F266 move.b [A5 - 0xD9A], 0x1
label00002574:
00002574 7000 moveq.l D0, 0x00
00002576 6008 bra +0xA /* 00002580 */
label00002578:
00002578 2F2A 0170 move.l -[A7], [A2 + 0x170]
0000257C A9CD syscall TEDispose
label0000257E:
0000257E 3004 move.w D0, D4
label00002580:
00002580 4CEE 1CF8 FD5C movem.l D3,D4,D5,D6,D7,A2,A3,A4, [A6 - 0x2A4]
00002586 4E5E unlink A6
00002588 4E75 rts
0000258A 0120 btst -[A0], D0
0000258C 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_53: // at 0000258E (misaligned)
00002590 0000 48E7 ori.b D0, 0xE7
00002594 0018 47ED ori.b [A0]+, 0xED
00002598 F226 286E .invalid fmove, !rm
0000259C 0008 18BC ori.b A0, 0xBC
000025A0 0001 197C ori.b D1, 0x7C /* '|' */
000025A4 0001 0007 ori.b D1, 0x7
000025A8 197C 0001 0008 move.b [A4 + 0x8], 0x1
000025AE 41FA FAA8 lea.l A0, [PC - 0x558 /* 00002058, value 0x4E56FD7C */]
000025B2 2948 000E move.l [A4 + 0xE], A0
000025B6 197C 0003 0002 move.b [A4 + 0x2], 0x3
000025BC 297C 0000 0178 000A move.l [A4 + 0xA], 0x178
000025C4 486D F246 pea.l [A5 - 0xDBA]
000025C8 3F3C 0258 move.w -[A7], 0x258
000025CC 7007 moveq.l D0, 0x07
000025CE 3F00 move.w -[A7], D0
000025D0 4EAD 0142 jsr [A5 + 0x142 /* export_36 */]
000025D4 2F0B move.l -[A7], A3
000025D6 3F3C 0258 move.w -[A7], 0x258
000025DA 7008 moveq.l D0, 0x08
000025DC 3F00 move.w -[A7], D0
000025DE 4EAD 0142 jsr [A5 + 0x142 /* export_36 */]
000025E2 7000 moveq.l D0, 0x00
000025E4 4CEE 1800 FFF8 movem.l A3,A4, [A6 - 0x8]
000025EA 4E5E unlink A6
000025EC 4E75 rts
export_54:
000025EE 4E56 0000 link A6, 0
000025F2 48E7 0038 movem.l -[A7], A2,A3,A4
000025F6 246E 000C movea.l A2, [A6 + 0xC]
000025FA 266E 0008 movea.l A3, [A6 + 0x8]
000025FE 286E 0010 movea.l A4, [A6 + 0x10]
00002602 3014 move.w D0, [A4]
00002604 48C0 ext.l D0
00002606 E580 asl D0, 2
00002608 27BC 5445 5854 0800 move.l [A3 + D0], 0x54455854 /* 'TEXT' */
00002610 3014 move.w D0, [A4]
00002612 48C0 ext.l D0
00002614 E580 asl D0, 2
00002616 25BC 5445 5854 0800 move.l [A2 + D0], 0x54455854 /* 'TEXT' */
0000261E 5254 addq.w [A4], 1
00002620 3014 move.w D0, [A4]
00002622 48C0 ext.l D0
00002624 E580 asl D0, 2
00002626 27BC 7474 726F 0800 move.l [A3 + D0], 0x7474726F /* 'ttro' */
0000262E 3014 move.w D0, [A4]
00002630 48C0 ext.l D0
00002632 E580 asl D0, 2
00002634 25BC 5445 5854 0800 move.l [A2 + D0], 0x54455854 /* 'TEXT' */
0000263C 5254 addq.w [A4], 1
0000263E 3014 move.w D0, [A4]
00002640 48C0 ext.l D0
00002642 E580 asl D0, 2
00002644 27BC 7345 5854 0800 move.l [A3 + D0], 0x73455854 /* 'sEXT' */
0000264C 3014 move.w D0, [A4]
0000264E 48C0 ext.l D0
00002650 E580 asl D0, 2
00002652 25BC 5445 5854 0800 move.l [A2 + D0], 0x54455854 /* 'TEXT' */
0000265A 5254 addq.w [A4], 1
0000265C 4CEE 1C00 FFF4 movem.l A2,A3,A4, [A6 - 0xC]
00002662 4E5E unlink A6
00002664 4E75 rts
fn00002666:
00002666 4E56 0000 link A6, 0
0000266A 2F0C move.l -[A7], A4
0000266C 286E 0008 movea.l A4, [A6 + 0x8]
00002670 2054 movea.l A0, [A4]
00002672 3028 0022 move.w D0, [A0 + 0x22]
00002676 48C0 ext.l D0
00002678 3228 0020 move.w D1, [A0 + 0x20]
0000267C 48C1 ext.l D1
0000267E 9081 sub.l D0, D1
00002680 286E FFFC movea.l A4, [A6 - 0x4]
00002684 4E5E unlink A6
00002686 4E75 rts
fn00002688:
00002688 4E56 0000 link A6, 0
0000268C 2F0C move.l -[A7], A4
0000268E 286E 0008 movea.l A4, [A6 + 0x8]
00002692 2054 movea.l A0, [A4]
00002694 2068 003E movea.l A0, [A0 + 0x3E]
00002698 2254 movea.l A1, [A4]
0000269A 3029 0020 move.w D0, [A1 + 0x20]
0000269E 48C0 ext.l D0
000026A0 D090 add.l D0, [A0]
000026A2 286E FFFC movea.l A4, [A6 - 0x4]
000026A6 4E5E unlink A6
000026A8 4E75 rts
fn000026AA:
000026AA 4E56 0000 link A6, 0
000026AE 48E7 1308 movem.l -[A7], D3,D6,D7,A4
000026B2 3C2E 000A move.w D6, [A6 + 0xA]
000026B6 286E 000C movea.l A4, [A6 + 0xC]
000026BA 4247 clr.w D7
000026BC 2054 movea.l A0, [A4]
000026BE 4A68 003C tst.w [A0 + 0x3C]
000026C2 6604 bne +0x6 /* 000026C8 */
000026C4 7001 moveq.l D0, 0x01
000026C6 604E bra +0x50 /* 00002716 */
label000026C8:
000026C8 2054 movea.l A0, [A4]
000026CA BC68 003C cmp.w D6, [A0 + 0x3C]
000026CE 6D24 blt +0x26 /* 000026F4 */
000026D0 3028 003C move.w D0, [A0 + 0x3C]
000026D4 48C0 ext.l D0
000026D6 5380 subq.l D0, 1
000026D8 2054 movea.l A0, [A4]
000026DA 2068 003E movea.l A0, [A0 + 0x3E]
000026DE 2050 movea.l A0, [A0]
000026E0 720D moveq.l D1, 0x0D
000026E2 B230 0800 cmp.b D1, [A0 + D0]
000026E6 57C3 seq D3
000026E8 4403 neg.b D3
000026EA 4883 ext.w D3
000026EC 3003 move.w D0, D3
000026EE 6026 bra +0x28 /* 00002716 */
label000026F0:
000026F0 3007 move.w D0, D7
000026F2 5247 addq.w D7, 1
label000026F4:
000026F4 48C7 ext.l D7
000026F6 2054 movea.l A0, [A4]
000026F8 2007 move.l D0, D7
000026FA D080 add.l D0, D0
000026FC BC70 0860 cmp.w D6, [A0 + D0 + 0x60]
00002700 6EEE bgt -0x10 /* 000026F0 */
00002702 48C7 ext.l D7
00002704 2054 movea.l A0, [A4]
00002706 2007 move.l D0, D7
00002708 D080 add.l D0, D0
0000270A BC70 0860 cmp.w D6, [A0 + D0 + 0x60]
0000270E 57C3 seq D3
00002710 4403 neg.b D3
00002712 4883 ext.w D3
00002714 3003 move.w D0, D3
label00002716:
00002716 4CEE 10C8 FFF0 movem.l D3,D6,D7,A4, [A6 - 0x10]
0000271C 4E5E unlink A6
0000271E 4E75 rts
fn00002720:
00002720 4E56 0000 link A6, 0
00002724 2F0C move.l -[A7], A4
00002726 342E 000A move.w D2, [A6 + 0xA]
0000272A 286E 000C movea.l A4, [A6 + 0xC]
0000272E 4241 clr.w D1
00002730 2054 movea.l A0, [A4]
00002732 B468 003C cmp.w D2, [A0 + 0x3C]
00002736 6F08 ble +0xA /* 00002740 */
00002738 3028 005E move.w D0, [A0 + 0x5E]
0000273C 6012 bra +0x14 /* 00002750 */
label0000273E:
0000273E 5241 addq.w D1, 1
label00002740:
00002740 48C1 ext.l D1
00002742 2054 movea.l A0, [A4]
00002744 2001 move.l D0, D1
00002746 D080 add.l D0, D0
00002748 B470 0860 cmp.w D2, [A0 + D0 + 0x60]
0000274C 6EF0 bgt -0xE /* 0000273E */
0000274E 3001 move.w D0, D1
label00002750:
00002750 286E FFFC movea.l A4, [A6 - 0x4]
00002754 4E5E unlink A6
00002756 4E75 rts
fn00002758:
00002758 4E56 FFFC link A6, -0x0004
0000275C 48E7 0308 movem.l -[A7], D6,D7,A4
00002760 3C2E 000A move.w D6, [A6 + 0xA]
00002764 286E 000C movea.l A4, [A6 + 0xC]
00002768 598F subq.l A7, 4
0000276A 3F06 move.w -[A7], D6
0000276C 2F0C move.l -[A7], A4
0000276E 3F3C 0008 move.w -[A7], 0x8
00002772 A83D syscall TEDispatch
00002774 2D5F FFFC move.l [A6 - 0x4], [A7]+
00002778 2F0C move.l -[A7], A4
0000277A 48C6 ext.l D6
0000277C 2F06 move.l -[A7], D6
0000277E 4EBA FFA0 jsr [PC - 0x60 /* 00002720 */]
00002782 3E00 move.w D7, D0
00002784 2054 movea.l A0, [A4]
00002786 BC68 003C cmp.w D6, [A0 + 0x3C]
0000278A 504F addq.w A7, 8
0000278C 6630 bne +0x32 /* 000027BE */
0000278E 3028 003C move.w D0, [A0 + 0x3C]
00002792 48C0 ext.l D0
00002794 5380 subq.l D0, 1
00002796 2054 movea.l A0, [A4]
00002798 2068 003E movea.l A0, [A0 + 0x3E]
0000279C 2050 movea.l A0, [A0]
0000279E 720D moveq.l D1, 0x0D
000027A0 B230 0800 cmp.b D1, [A0 + D0]
000027A4 6618 bne +0x1A /* 000027BE */
000027A6 598F subq.l A7, 4
000027A8 48C7 ext.l D7
000027AA 2F07 move.l -[A7], D7
000027AC 48C7 ext.l D7
000027AE 2F07 move.l -[A7], D7
000027B0 2F0C move.l -[A7], A4
000027B2 3F3C 0009 move.w -[A7], 0x9 /* '\t' */
000027B6 A83D syscall TEDispatch
000027B8 201F move.l D0, [A7]+
000027BA D16E FFFC add.w [A6 - 0x4], D0
label000027BE:
000027BE 700A moveq.l D0, 0x0A
000027C0 3F00 move.w -[A7], D0
000027C2 A89C syscall PenMode
000027C4 598F subq.l A7, 4
000027C6 48C7 ext.l D7
000027C8 2F07 move.l -[A7], D7
000027CA 48C7 ext.l D7
000027CC 2F07 move.l -[A7], D7
000027CE 2F0C move.l -[A7], A4
000027D0 3F3C 0009 move.w -[A7], 0x9 /* '\t' */
000027D4 A83D syscall TEDispatch
000027D6 201F move.l D0, [A7]+
000027D8 3C00 move.w D6, D0
000027DA 302E FFFE move.w D0, [A6 - 0x2]
000027DE 5340 subq.w D0, 1
000027E0 3F00 move.w -[A7], D0
000027E2 302E FFFC move.w D0, [A6 - 0x4]
000027E6 5340 subq.w D0, 1
000027E8 3F00 move.w -[A7], D0
000027EA A893 syscall MoveTo
000027EC 7000 moveq.l D0, 0x00
000027EE 3F00 move.w -[A7], D0
000027F0 7201 moveq.l D1, 0x01
000027F2 9246 sub.w D1, D6
000027F4 3F01 move.w -[A7], D1
000027F6 A892 syscall Line
000027F8 A89E syscall PenNormal
000027FA 4CEE 10C0 FFF0 movem.l D6,D7,A4, [A6 - 0x10]
00002800 4E5E unlink A6
00002802 4E75 rts
fn00002804:
00002804 4E56 FFF8 link A6, -0x0008
00002808 48E7 0108 movem.l -[A7], D7,A4
0000280C 286E 000C movea.l A4, [A6 + 0xC]
00002810 7EFF moveq.l D7, 0xFFFFFFFF
00002812 558F subq.l A7, 2
00002814 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002818 486E FFFC pea.l [A6 - 0x4]
0000281C A92C syscall FindWindow
0000281E 7003 moveq.l D0, 0x03
00002820 B05F cmp.w D0, [A7]+
00002822 6600 0088 bne +0x8A /* 000028AC */
00002826 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000282A A873 syscall SetPort
0000282C 486E 0008 pea.l [A6 + 0x8]
00002830 A871 syscall GlobalToLocal
00002832 558F subq.l A7, 2
00002834 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002838 2054 movea.l A0, [A4]
0000283A 4868 0008 pea.l [A0 + 0x8]
0000283E A8AD syscall PtInRect
00002840 4A1F tst.b [A7]+
00002842 6768 beq +0x6A /* 000028AC */
00002844 558F subq.l A7, 2
00002846 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000284A 2054 movea.l A0, [A4]
0000284C 4868 0008 pea.l [A0 + 0x8]
00002850 A8AD syscall PtInRect
00002852 4A1F tst.b [A7]+
00002854 6756 beq +0x58 /* 000028AC */
00002856 558F subq.l A7, 2
00002858 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000285C 2F0C move.l -[A7], A4
0000285E A83C syscall TEGetOffset
00002860 3E1F move.w D7, [A7]+
00002862 2F0C move.l -[A7], A4
00002864 48C7 ext.l D7
00002866 2F07 move.l -[A7], D7
00002868 4EBA FE40 jsr [PC - 0x1C0 /* 000026AA */]
0000286C 4A40 tst.w D0
0000286E 504F addq.w A7, 8
00002870 673A beq +0x3C /* 000028AC */
00002872 4A47 tst.w D7
00002874 6736 beq +0x38 /* 000028AC */
00002876 48C7 ext.l D7
00002878 2007 move.l D0, D7
0000287A 5380 subq.l D0, 1
0000287C 2054 movea.l A0, [A4]
0000287E 2068 003E movea.l A0, [A0 + 0x3E]
00002882 2050 movea.l A0, [A0]
00002884 720D moveq.l D1, 0x0D
00002886 B230 0800 cmp.b D1, [A0 + D0]
0000288A 6720 beq +0x22 /* 000028AC */
0000288C 598F subq.l A7, 4
0000288E 3007 move.w D0, D7
00002890 5340 subq.w D0, 1
00002892 3F00 move.w -[A7], D0
00002894 2F0C move.l -[A7], A4
00002896 3F3C 0008 move.w -[A7], 0x8
0000289A A83D syscall TEDispatch
0000289C 2D5F FFF8 move.l [A6 - 0x8], [A7]+
000028A0 302E FFFA move.w D0, [A6 - 0x6]
000028A4 B06E 000A cmp.w D0, [A6 + 0xA]
000028A8 6C02 bge +0x4 /* 000028AC */
000028AA 5347 subq.w D7, 1
label000028AC:
000028AC 3007 move.w D0, D7
000028AE 4CEE 1080 FFF0 movem.l D7,A4, [A6 - 0x10]
000028B4 4E5E unlink A6
000028B6 4E75 rts
fn000028B8:
000028B8 4E56 0000 link A6, 0
000028BC 302E 000A move.w D0, [A6 + 0xA]
000028C0 6C04 bge +0x6 /* 000028C6 */
000028C2 700D moveq.l D0, 0x0D
000028C4 6010 bra +0x12 /* 000028D6 */
label000028C6:
000028C6 206E 000C movea.l A0, [A6 + 0xC]
000028CA 2050 movea.l A0, [A0]
000028CC 2068 003E movea.l A0, [A0 + 0x3E]
000028D0 2050 movea.l A0, [A0]
000028D2 1030 0000 move.b D0, [A0 + D0.w]
label000028D6:
000028D6 4E5E unlink A6
000028D8 4E75 rts
fn000028DA:
000028DA 4E56 0000 link A6, 0
000028DE 48E7 1100 movem.l -[A7], D3,D7
000028E2 1E2E 000B move.b D7, [A6 + 0xB]
000028E6 7601 moveq.l D3, 0x01
000028E8 0C07 0020 cmpi.b D7, 0x20 /* ' ' */
000028EC 6708 beq +0xA /* 000028F6 */
000028EE 0C07 000D cmpi.b D7, 0xD /* '\r' */
000028F2 6702 beq +0x4 /* 000028F6 */
000028F4 7600 moveq.l D3, 0x00
label000028F6:
000028F6 1003 move.b D0, D3
000028F8 4CEE 0088 FFF8 movem.l D3,D7, [A6 - 0x8]
000028FE 4E5E unlink A6
00002900 4E75 rts
fn00002902:
00002902 4E56 0000 link A6, 0
00002906 48E7 0308 movem.l -[A7], D6,D7,A4
0000290A 286E 000C movea.l A4, [A6 + 0xC]
0000290E 3E2E 000A move.w D7, [A6 + 0xA]
00002912 6D10 blt +0x12 /* 00002924 */
00002914 48C7 ext.l D7
00002916 2054 movea.l A0, [A4]
00002918 3028 003C move.w D0, [A0 + 0x3C]
0000291C 48C0 ext.l D0
0000291E 5380 subq.l D0, 1
00002920 B087 cmp.l D0, D7
00002922 6C04 bge +0x6 /* 00002928 */
label00002924:
00002924 7001 moveq.l D0, 0x01
00002926 6018 bra +0x1A /* 00002940 */
label00002928:
00002928 2054 movea.l A0, [A4]
0000292A 2068 003E movea.l A0, [A0 + 0x3E]
0000292E 2050 movea.l A0, [A0]
00002930 1C30 7000 move.b D6, [A0 + D7.w]
00002934 4886 ext.w D6
00002936 48C6 ext.l D6
00002938 2F06 move.l -[A7], D6
0000293A 4EBA FF9E jsr [PC - 0x62 /* 000028DA */]
0000293E 584F addq.w A7, 4
label00002940:
00002940 4CEE 10C0 FFF4 movem.l D6,D7,A4, [A6 - 0xC]
00002946 4E5E unlink A6
00002948 4E75 rts
fn0000294A:
0000294A 4E56 0000 link A6, 0
0000294E 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
00002952 2A2E 0010 move.l D5, [A6 + 0x10]
00002956 266E 000C movea.l A3, [A6 + 0xC]
0000295A 286E 0018 movea.l A4, [A6 + 0x18]
0000295E 3E2E 000A move.w D7, [A6 + 0xA]
00002962 4246 clr.w D6
00002964 4A85 tst.l D5
00002966 6606 bne +0x8 /* 0000296E */
00002968 3006 move.w D0, D6
0000296A 6000 00C0 bra +0xC2 /* 00002A2C */
label0000296E:
0000296E 2F0C move.l -[A7], A4
00002970 48C7 ext.l D7
00002972 2007 move.l D0, D7
00002974 5380 subq.l D0, 1
00002976 2F00 move.l -[A7], D0
00002978 4EBA FF88 jsr [PC - 0x78 /* 00002902 */]
0000297C 4A00 tst.b D0
0000297E 504F addq.w A7, 8
00002980 663A bne +0x3C /* 000029BC */
00002982 2F0C move.l -[A7], A4
00002984 48C7 ext.l D7
00002986 2F07 move.l -[A7], D7
00002988 4EBA FF78 jsr [PC - 0x88 /* 00002902 */]
0000298C 4A00 tst.b D0
0000298E 504F addq.w A7, 8
00002990 672A beq +0x2C /* 000029BC */
00002992 1013 move.b D0, [A3]
00002994 4880 ext.w D0
00002996 48C0 ext.l D0
00002998 2F00 move.l -[A7], D0
0000299A 4EBA FF3E jsr [PC - 0xC2 /* 000028DA */]
0000299E 4A00 tst.b D0
000029A0 584F addq.w A7, 4
000029A2 6618 bne +0x1A /* 000029BC */
000029A4 48C7 ext.l D7
000029A6 2F07 move.l -[A7], D7
000029A8 48C7 ext.l D7
000029AA 2F07 move.l -[A7], D7
000029AC 2F0C move.l -[A7], A4
000029AE A9D1 syscall TESetSelect
000029B0 7020 moveq.l D0, 0x20
000029B2 3F00 move.w -[A7], D0
000029B4 2F0C move.l -[A7], A4
000029B6 A9DC syscall TEKey
000029B8 5247 addq.w D7, 1
000029BA 5246 addq.w D6, 1
label000029BC:
000029BC 2F0C move.l -[A7], A4
000029BE 48C7 ext.l D7
000029C0 2007 move.l D0, D7
000029C2 5380 subq.l D0, 1
000029C4 2F00 move.l -[A7], D0
000029C6 4EBA FF3A jsr [PC - 0xC6 /* 00002902 */]
000029CA 4A00 tst.b D0
000029CC 504F addq.w A7, 8
000029CE 673E beq +0x40 /* 00002A0E */
000029D0 2F0C move.l -[A7], A4
000029D2 48C7 ext.l D7
000029D4 2F07 move.l -[A7], D7
000029D6 4EBA FF2A jsr [PC - 0xD6 /* 00002902 */]
000029DA 4A00 tst.b D0
000029DC 504F addq.w A7, 8
000029DE 662E bne +0x30 /* 00002A0E */
000029E0 2005 move.l D0, D5
000029E2 5380 subq.l D0, 1
000029E4 1033 0800 move.b D0, [A3 + D0]
000029E8 4880 ext.w D0
000029EA 48C0 ext.l D0
000029EC 2F00 move.l -[A7], D0
000029EE 4EBA FEEA jsr [PC - 0x116 /* 000028DA */]
000029F2 4A00 tst.b D0
000029F4 584F addq.w A7, 4
000029F6 6616 bne +0x18 /* 00002A0E */
000029F8 48C7 ext.l D7
000029FA 2F07 move.l -[A7], D7
000029FC 48C7 ext.l D7
000029FE 2F07 move.l -[A7], D7
00002A00 2F0C move.l -[A7], A4
00002A02 A9D1 syscall TESetSelect
00002A04 7020 moveq.l D0, 0x20
00002A06 3F00 move.w -[A7], D0
00002A08 2F0C move.l -[A7], A4
00002A0A A9DC syscall TEKey
00002A0C 5246 addq.w D6, 1
label00002A0E:
00002A0E 48C7 ext.l D7
00002A10 2F07 move.l -[A7], D7
00002A12 48C7 ext.l D7
00002A14 2F07 move.l -[A7], D7
00002A16 2F0C move.l -[A7], A4
00002A18 A9D1 syscall TESetSelect
00002A1A 2F0B move.l -[A7], A3
00002A1C 2F05 move.l -[A7], D5
00002A1E 2F2E 0014 move.l -[A7], [A6 + 0x14]
00002A22 2F0C move.l -[A7], A4
00002A24 3F3C 0007 move.w -[A7], 0x7
00002A28 A83D syscall TEDispatch
00002A2A 3006 move.w D0, D6
label00002A2C:
00002A2C 4CEE 18E0 FFEC movem.l D5,D6,D7,A3,A4, [A6 - 0x14]
00002A32 4E5E unlink A6
00002A34 4E75 rts
00002A36 4E56 FFEE link A6, -0x0012
00002A3A 48E7 1718 movem.l -[A7], D3,D5,D6,D7,A3,A4
00002A3E 2C2E 0010 move.l D6, [A6 + 0x10]
00002A42 286E 000C movea.l A4, [A6 + 0xC]
00002A46 598F subq.l A7, 4
00002A48 A975 syscall TickCount
00002A4A 2A1F move.l D5, [A7]+
00002A4C 264C movea.l A3, A4
00002A4E 558F subq.l A7, 2
00002A50 2F06 move.l -[A7], D6
00002A52 486E FFF0 pea.l [A6 - 0x10]
00002A56 7019 moveq.l D0, 0x19
00002A58 ABED syscall DragDispatch
00002A5A 302E 0016 move.w D0, [A6 + 0x16]
00002A5E 5540 subq.w D0, 2
00002A60 544F addq.w A7, 2
00002A62 670E beq +0x10 /* 00002A72 */
00002A64 5340 subq.w D0, 1
00002A66 6740 beq +0x42 /* 00002AA8 */
00002A68 5340 subq.w D0, 1
00002A6A 6700 0248 beq +0x24A /* 00002CB4 */
00002A6E 6000 027C bra +0x27E /* 00002CEC */
label00002A72:
00002A72 2F3C 5445 5854 move.l -[A7], 0x54455854 /* 'TEXT' */
00002A78 2F06 move.l -[A7], D6
00002A7A 4EAD 0192 jsr [A5 + 0x192 /* export_46 */]
00002A7E 1B40 F108 move.b [A5 - 0xEF8], D0
00002A82 2B45 F282 move.l [A5 - 0xD7E], D5
00002A86 3B7C FFFF F27E move.w [A5 - 0xD82], 0xFFFF
00002A8C 3B7C FFFF F280 move.w [A5 - 0xD80], 0xFFFF
00002A92 1B7C 0001 F288 move.b [A5 - 0xD78], 0x1
00002A98 422D F286 clr.b [A5 - 0xD7A]
00002A9C 7000 moveq.l D0, 0x00
00002A9E 2B40 F278 move.l [A5 - 0xD88], D0
00002AA2 504F addq.w A7, 8
00002AA4 6000 0246 bra +0x248 /* 00002CEC */
label00002AA8:
00002AA8 4A2D F108 tst.b [A5 - 0xEF8]
00002AAC 6700 015E beq +0x160 /* 00002C0C */
00002AB0 558F subq.l A7, 2
00002AB2 2F06 move.l -[A7], D6
00002AB4 486E FFFC pea.l [A6 - 0x4]
00002AB8 7000 moveq.l D0, 0x00
00002ABA 2F00 move.l -[A7], D0
00002ABC 701A moveq.l D0, 0x1A
00002ABE ABED syscall DragDispatch
00002AC0 2D6E FFFC FFF8 move.l [A6 - 0x8], [A6 - 0x4]
00002AC6 486E FFF8 pea.l [A6 - 0x8]
00002ACA A871 syscall GlobalToLocal
00002ACC 7004 moveq.l D0, 0x04
00002ACE C0AE FFF0 and.l D0, [A6 - 0x10]
00002AD2 544F addq.w A7, 2
00002AD4 6700 00D4 beq +0xD6 /* 00002BAA */
00002AD8 426E FFEE clr.w [A6 - 0x12]
00002ADC 7010 moveq.l D0, 0x10
00002ADE B06E FFF8 cmp.w D0, [A6 - 0x8]
00002AE2 6F0C ble +0xE /* 00002AF0 */
00002AE4 4A6E FFF8 tst.w [A6 - 0x8]
00002AE8 6F06 ble +0x8 /* 00002AF0 */
00002AEA 3D6B 0160 FFEE move.w [A6 - 0x12], [A3 + 0x160]
label00002AF0:
00002AF0 206E 0008 movea.l A0, [A6 + 0x8]
00002AF4 3028 0014 move.w D0, [A0 + 0x14]
00002AF8 48C0 ext.l D0
00002AFA 7210 moveq.l D1, 0x10
00002AFC 9081 sub.l D0, D1
00002AFE 342E FFF8 move.w D2, [A6 - 0x8]
00002B02 48C2 ext.l D2
00002B04 B082 cmp.l D0, D2
00002B06 6C0C bge +0xE /* 00002B14 */
00002B08 302B 0160 move.w D0, [A3 + 0x160]
00002B0C 48C0 ext.l D0
00002B0E 4480 neg.l D0
00002B10 3D40 FFEE move.w [A6 - 0x12], D0
label00002B14:
00002B14 4A6E FFEE tst.w [A6 - 0x12]
00002B18 660A bne +0xC /* 00002B24 */
00002B1A 7000 moveq.l D0, 0x00
00002B1C 2B40 F278 move.l [A5 - 0xD88], D0
00002B20 6000 0088 bra +0x8A /* 00002BAA */
label00002B24:
00002B24 4AAD F278 tst.l [A5 - 0xD88]
00002B28 6606 bne +0x8 /* 00002B30 */
00002B2A 2B45 F278 move.l [A5 - 0xD88], D5
00002B2E 607A bra +0x7C /* 00002BAA */
label00002B30:
00002B30 2005 move.l D0, D5
00002B32 90AD F278 sub.l D0, [A5 - 0xD88]
00002B36 720A moveq.l D1, 0x0A
00002B38 B280 cmp.l D1, D0
00002B3A 646E bcc +0x70 /* 00002BAA */
00002B3C 70FF moveq.l D0, 0xFFFFFFFF
00002B3E B06D F280 cmp.w D0, [A5 - 0xD80]
00002B42 6718 beq +0x1A /* 00002B5C */
00002B44 2F2C 0170 move.l -[A7], [A4 + 0x170]
00002B48 302D F280 move.w D0, [A5 - 0xD80]
00002B4C 48C0 ext.l D0
00002B4E 2F00 move.l -[A7], D0
00002B50 4EBA FC06 jsr [PC - 0x3FA /* 00002758 */]
00002B54 3B7C FFFF F280 move.w [A5 - 0xD80], 0xFFFF
00002B5A 504F addq.w A7, 8
label00002B5C:
00002B5C 486E FFEE pea.l [A6 - 0x12]
00002B60 2F2B 015A move.l -[A7], [A3 + 0x15A]
00002B64 4EAD 0082 jsr [A5 + 0x82 /* export_12 */]
00002B68 4A6E FFEE tst.w [A6 - 0x12]
00002B6C 504F addq.w A7, 8
00002B6E 6732 beq +0x34 /* 00002BA2 */
00002B70 558F subq.l A7, 2
00002B72 2F06 move.l -[A7], D6
00002B74 7000 moveq.l D0, 0x00
00002B76 3F00 move.w -[A7], D0
00002B78 3F2E FFEE move.w -[A7], [A6 - 0x12]
00002B7C 7020 moveq.l D0, 0x20
00002B7E ABED syscall DragDispatch
00002B80 302E FFEE move.w D0, [A6 - 0x12]
00002B84 48C0 ext.l D0
00002B86 2F00 move.l -[A7], D0
00002B88 7000 moveq.l D0, 0x00
00002B8A 2F00 move.l -[A7], D0
00002B8C 2F0B move.l -[A7], A3
00002B8E 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002B92 4EAD 007A jsr [A5 + 0x7A /* export_11 */]
00002B96 558F subq.l A7, 2
00002B98 2F06 move.l -[A7], D6
00002B9A 7021 moveq.l D0, 0x21
00002B9C ABED syscall DragDispatch
00002B9E 4FEF 0014 lea.l A7, [A7 + 0x14]
label00002BA2:
00002BA2 2005 move.l D0, D5
00002BA4 5F80 subq.l D0, 7
00002BA6 2B40 F278 move.l [A5 - 0xD88], D0
label00002BAA:
00002BAA 202E FFF0 move.l D0, [A6 - 0x10]
00002BAE 0800 0000 btst.b D0, 0x0
00002BB2 6758 beq +0x5A /* 00002C0C */
00002BB4 558F subq.l A7, 2
00002BB6 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00002BBA 486B 014E pea.l [A3 + 0x14E]
00002BBE A8AD syscall PtInRect
00002BC0 4A1F tst.b [A7]+
00002BC2 6734 beq +0x36 /* 00002BF8 */
00002BC4 4A2D F286 tst.b [A5 - 0xD7A]
00002BC8 6626 bne +0x28 /* 00002BF0 */
00002BCA 598F subq.l A7, 4
00002BCC A8D8 syscall NewRgn
00002BCE 2D57 FFF4 move.l [A6 - 0xC], [A7]
00002BD2 486B 014E pea.l [A3 + 0x14E]
00002BD6 A8DF syscall RectRgn
00002BD8 558F subq.l A7, 2
00002BDA 2F06 move.l -[A7], D6
00002BDC 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00002BE0 7001 moveq.l D0, 0x01
00002BE2 1F00 move.b -[A7], D0
00002BE4 701E moveq.l D0, 0x1E
00002BE6 ABED syscall DragDispatch
00002BE8 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00002BEC A8D9 syscall DisposRgn/DisposeRgn
00002BEE 544F addq.w A7, 2
label00002BF0:
00002BF0 1B7C 0001 F286 move.b [A5 - 0xD7A], 0x1
00002BF6 6014 bra +0x16 /* 00002C0C */
label00002BF8:
00002BF8 4A2D F286 tst.b [A5 - 0xD7A]
00002BFC 670E beq +0x10 /* 00002C0C */
00002BFE 558F subq.l A7, 2
00002C00 2F06 move.l -[A7], D6
00002C02 701F moveq.l D0, 0x1F
00002C04 ABED syscall DragDispatch
00002C06 422D F286 clr.b [A5 - 0xD7A]
00002C0A 544F addq.w A7, 2
label00002C0C:
00002C0C 2F2C 0170 move.l -[A7], [A4 + 0x170]
00002C10 2F2E FFFC move.l -[A7], [A6 - 0x4]
00002C14 4EBA FBEE jsr [PC - 0x412 /* 00002804 */]
00002C18 3E00 move.w D7, D0
00002C1A 7004 moveq.l D0, 0x04
00002C1C C0AE FFF0 and.l D0, [A6 - 0x10]
00002C20 504F addq.w A7, 8
00002C22 671A beq +0x1C /* 00002C3E */
00002C24 206C 0170 movea.l A0, [A4 + 0x170]
00002C28 2050 movea.l A0, [A0]
00002C2A BE68 0020 cmp.w D7, [A0 + 0x20]
00002C2E 6D0E blt +0x10 /* 00002C3E */
00002C30 206C 0170 movea.l A0, [A4 + 0x170]
00002C34 2050 movea.l A0, [A0]
00002C36 BE68 0022 cmp.w D7, [A0 + 0x22]
00002C3A 6E02 bgt +0x4 /* 00002C3E */
00002C3C 7EFF moveq.l D7, 0xFFFFFFFF
label00002C3E:
00002C3E 3B47 F27C move.w [A5 - 0xD84], D7
00002C42 BE6D F27E cmp.w D7, [A5 - 0xD82]
00002C46 670A beq +0xC /* 00002C52 */
00002C48 2B45 F282 move.l [A5 - 0xD7E], D5
00002C4C 1B7C 0001 F288 move.b [A5 - 0xD78], 0x1
label00002C52:
00002C52 3B47 F27E move.w [A5 - 0xD82], D7
00002C56 2005 move.l D0, D5
00002C58 90AD F282 sub.l D0, [A5 - 0xD7E]
00002C5C B0B8 02F4 cmp.l D0, [0x000002F4 /* CaretTime */]
00002C60 6310 bls +0x12 /* 00002C72 */
00002C62 4A2D F288 tst.b [A5 - 0xD78]
00002C66 57C3 seq D3
00002C68 4403 neg.b D3
00002C6A 1B43 F288 move.b [A5 - 0xD78], D3
00002C6E 2B45 F282 move.l [A5 - 0xD7E], D5
label00002C72:
00002C72 4A2D F288 tst.b [A5 - 0xD78]
00002C76 6602 bne +0x4 /* 00002C7A */
00002C78 7EFF moveq.l D7, 0xFFFFFFFF
label00002C7A:
00002C7A BE6D F280 cmp.w D7, [A5 - 0xD80]
00002C7E 672E beq +0x30 /* 00002CAE */
00002C80 70FF moveq.l D0, 0xFFFFFFFF
00002C82 B06D F280 cmp.w D0, [A5 - 0xD80]
00002C86 6712 beq +0x14 /* 00002C9A */
00002C88 2F2C 0170 move.l -[A7], [A4 + 0x170]
00002C8C 302D F280 move.w D0, [A5 - 0xD80]
00002C90 48C0 ext.l D0
00002C92 2F00 move.l -[A7], D0
00002C94 4EBA FAC2 jsr [PC - 0x53E /* 00002758 */]
00002C98 504F addq.w A7, 8
label00002C9A:
00002C9A 0C47 FFFF cmpi.w D7, 0xFFFF
00002C9E 670E beq +0x10 /* 00002CAE */
00002CA0 2F2C 0170 move.l -[A7], [A4 + 0x170]
00002CA4 48C7 ext.l D7
00002CA6 2F07 move.l -[A7], D7
00002CA8 4EBA FAAE jsr [PC - 0x552 /* 00002758 */]
00002CAC 504F addq.w A7, 8
label00002CAE:
00002CAE 3B47 F280 move.w [A5 - 0xD80], D7
00002CB2 6038 bra +0x3A /* 00002CEC */
label00002CB4:
00002CB4 70FF moveq.l D0, 0xFFFFFFFF
00002CB6 B06D F280 cmp.w D0, [A5 - 0xD80]
00002CBA 6718 beq +0x1A /* 00002CD4 */
00002CBC 2F2C 0170 move.l -[A7], [A4 + 0x170]
00002CC0 302D F280 move.w D0, [A5 - 0xD80]
00002CC4 48C0 ext.l D0
00002CC6 2F00 move.l -[A7], D0
00002CC8 4EBA FA8E jsr [PC - 0x572 /* 00002758 */]
00002CCC 3B7C FFFF F280 move.w [A5 - 0xD80], 0xFFFF
00002CD2 504F addq.w A7, 8
label00002CD4:
00002CD4 4A2D F286 tst.b [A5 - 0xD7A]
00002CD8 6712 beq +0x14 /* 00002CEC */
00002CDA 7001 moveq.l D0, 0x01
00002CDC C0AE FFF0 and.l D0, [A6 - 0x10]
00002CE0 670A beq +0xC /* 00002CEC */
00002CE2 558F subq.l A7, 2
00002CE4 2F06 move.l -[A7], D6
00002CE6 701F moveq.l D0, 0x1F
00002CE8 ABED syscall DragDispatch
00002CEA 544F addq.w A7, 2
label00002CEC:
00002CEC 7000 moveq.l D0, 0x00
00002CEE 4CEE 18E8 FFD6 movem.l D3,D5,D6,D7,A3,A4, [A6 - 0x2A]
00002CF4 4E5E unlink A6
00002CF6 4E75 rts
00002CF8 4E56 FFD0 link A6, -0x0030
00002CFC 48E7 1F18 movem.l -[A7], D3,D4,D5,D6,D7,A3,A4
00002D00 2C2E 0010 move.l D6, [A6 + 0x10]
00002D04 4A2D F108 tst.b [A5 - 0xEF8]
00002D08 6708 beq +0xA /* 00002D12 */
00002D0A 70FF moveq.l D0, 0xFFFFFFFF
00002D0C B06D F27C cmp.w D0, [A5 - 0xD84]
00002D10 6608 bne +0xA /* 00002D1A */
label00002D12:
00002D12 303C F8BF move.w D0, 0xF8BF
00002D16 6000 02DA bra +0x2DC /* 00002FF2 */
label00002D1A:
00002D1A 206E 000C movea.l A0, [A6 + 0xC]
00002D1E 2868 0170 movea.l A4, [A0 + 0x170]
00002D22 302D F27C move.w D0, [A5 - 0xD84]
00002D26 48C0 ext.l D0
00002D28 2D40 FFF6 move.l [A6 - 0xA], D0
00002D2C 7000 moveq.l D0, 0x00
00002D2E 2D40 FFEC move.l [A6 - 0x14], D0
00002D32 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002D36 A873 syscall SetPort
00002D38 2054 movea.l A0, [A4]
00002D3A 4A68 0024 tst.w [A0 + 0x24]
00002D3E 56C3 sne D3
00002D40 4403 neg.b D3
00002D42 1D43 FFFF move.b [A6 - 0x1], D3
00002D46 6604 bne +0x6 /* 00002D4C */
00002D48 2F0C move.l -[A7], A4
00002D4A A9D8 syscall TEActivate
label00002D4C:
00002D4C 558F subq.l A7, 2
00002D4E 2F06 move.l -[A7], D6
00002D50 486E FFD8 pea.l [A6 - 0x28]
00002D54 7019 moveq.l D0, 0x19
00002D56 ABED syscall DragDispatch
00002D58 558F subq.l A7, 2
00002D5A 2F06 move.l -[A7], D6
00002D5C 7000 moveq.l D0, 0x00
00002D5E 2F00 move.l -[A7], D0
00002D60 486E FFF0 pea.l [A6 - 0x10]
00002D64 486E FFF2 pea.l [A6 - 0xE]
00002D68 701D moveq.l D0, 0x1D
00002D6A ABED syscall DragDispatch
00002D6C 7600 moveq.l D3, 0x00
00002D6E 7004 moveq.l D0, 0x04
00002D70 C0AE FFD8 and.l D0, [A6 - 0x28]
00002D74 584F addq.w A7, 4
00002D76 6716 beq +0x18 /* 00002D8E */
00002D78 303C 0800 move.w D0, 0x800
00002D7C C06E FFF0 and.w D0, [A6 - 0x10]
00002D80 323C 0800 move.w D1, 0x800
00002D84 C26E FFF2 and.w D1, [A6 - 0xE]
00002D88 8240 or.w D1, D0
00002D8A 6602 bne +0x4 /* 00002D8E */
00002D8C 7601 moveq.l D3, 0x01
label00002D8E:
00002D8E 4883 ext.w D3
00002D90 3D43 FFF4 move.w [A6 - 0xC], D3
00002D94 558F subq.l A7, 2
00002D96 2F06 move.l -[A7], D6
00002D98 486E FFD6 pea.l [A6 - 0x2A]
00002D9C 700E moveq.l D0, 0x0E
00002D9E ABED syscall DragDispatch
00002DA0 7801 moveq.l D4, 0x01
00002DA2 544F addq.w A7, 2
00002DA4 6000 01FC bra +0x1FE /* 00002FA2 */
label00002DA8:
00002DA8 558F subq.l A7, 2
00002DAA 2F06 move.l -[A7], D6
00002DAC 3F04 move.w -[A7], D4
00002DAE 486E FFDC pea.l [A6 - 0x24]
00002DB2 700F moveq.l D0, 0x0F
00002DB4 ABED syscall DragDispatch
00002DB6 558F subq.l A7, 2
00002DB8 2F06 move.l -[A7], D6
00002DBA 2F2E FFDC move.l -[A7], [A6 - 0x24]
00002DBE 2F3C 5445 5854 move.l -[A7], 0x54455854 /* 'TEXT' */
00002DC4 486E FFE4 pea.l [A6 - 0x1C]
00002DC8 7013 moveq.l D0, 0x13
00002DCA ABED syscall DragDispatch
00002DCC 3D5F FFD4 move.w [A6 - 0x2C], [A7]+
00002DD0 544F addq.w A7, 2
00002DD2 6600 01CA bne +0x1CC /* 00002F9E */
00002DD6 2054 movea.l A0, [A4]
00002DD8 3028 003C move.w D0, [A0 + 0x3C]
00002DDC 48C0 ext.l D0
00002DDE 222E FFE4 move.l D1, [A6 - 0x1C]
00002DE2 D280 add.l D1, D0
00002DE4 0C81 0000 7C00 cmpi.l D1, 0x7C00 /* '|\0' */
00002DEA 6F08 ble +0xA /* 00002DF4 */
00002DEC 303C 00C8 move.w D0, 0xC8
00002DF0 6000 0200 bra +0x202 /* 00002FF2 */
label00002DF4:
00002DF4 202E FFE4 move.l D0, [A6 - 0x1C]
00002DF8 A11E syscall NewPtr, flags=1
00002DFA 2D48 FFE0 move.l [A6 - 0x20], A0
00002DFE 6606 bne +0x8 /* 00002E06 */
00002E00 7094 moveq.l D0, 0xFFFFFF94
00002E02 6000 01EE bra +0x1F0 /* 00002FF2 */
label00002E06:
00002E06 558F subq.l A7, 2
00002E08 2F06 move.l -[A7], D6
00002E0A 2F2E FFDC move.l -[A7], [A6 - 0x24]
00002E0E 2F3C 5445 5854 move.l -[A7], 0x54455854 /* 'TEXT' */
00002E14 2F2E FFE0 move.l -[A7], [A6 - 0x20]
00002E18 486E FFE4 pea.l [A6 - 0x1C]
00002E1C 7000 moveq.l D0, 0x00
00002E1E 2F00 move.l -[A7], D0
00002E20 7014 moveq.l D0, 0x14
00002E22 ABED syscall DragDispatch
00002E24 7000 moveq.l D0, 0x00
00002E26 2640 movea.l A3, D0
00002E28 558F subq.l A7, 2
00002E2A 2F06 move.l -[A7], D6
00002E2C 2F2E FFDC move.l -[A7], [A6 - 0x24]
00002E30 2F3C 7374 796C move.l -[A7], 0x7374796C /* 'styl' */
00002E36 486E FFE8 pea.l [A6 - 0x18]
00002E3A 7013 moveq.l D0, 0x13
00002E3C ABED syscall DragDispatch
00002E3E 3D5F FFD4 move.w [A6 - 0x2C], [A7]+
00002E42 544F addq.w A7, 2
00002E44 6644 bne +0x46 /* 00002E8A */
00002E46 4AAE FFE8 tst.l [A6 - 0x18]
00002E4A 673E beq +0x40 /* 00002E8A */
00002E4C 202E FFE8 move.l D0, [A6 - 0x18]
00002E50 A122 syscall NewHandle, flags=1
00002E52 2648 movea.l A3, A0
00002E54 200B move.l D0, A3
00002E56 660C bne +0xE /* 00002E64 */
00002E58 206E FFE0 movea.l A0, [A6 - 0x20]
00002E5C A01F syscall DisposPtr/DisposePtr
00002E5E 7094 moveq.l D0, 0xFFFFFF94
00002E60 6000 0190 bra +0x192 /* 00002FF2 */
label00002E64:
00002E64 204B movea.l A0, A3
00002E66 A029 syscall HLock
00002E68 558F subq.l A7, 2
00002E6A 2F06 move.l -[A7], D6
00002E6C 2F2E FFDC move.l -[A7], [A6 - 0x24]
00002E70 2F3C 7374 796C move.l -[A7], 0x7374796C /* 'styl' */
00002E76 2F13 move.l -[A7], [A3]
00002E78 486E FFE8 pea.l [A6 - 0x18]
00002E7C 7000 moveq.l D0, 0x00
00002E7E 2F00 move.l -[A7], D0
00002E80 7014 moveq.l D0, 0x14
00002E82 ABED syscall DragDispatch
00002E84 204B movea.l A0, A3
00002E86 A02A syscall HUnlock
00002E88 544F addq.w A7, 2
label00002E8A:
00002E8A 70FF moveq.l D0, 0xFFFFFFFF
00002E8C B06D F280 cmp.w D0, [A5 - 0xD80]
00002E90 6716 beq +0x18 /* 00002EA8 */
00002E92 2F0C move.l -[A7], A4
00002E94 302D F280 move.w D0, [A5 - 0xD80]
00002E98 48C0 ext.l D0
00002E9A 2F00 move.l -[A7], D0
00002E9C 4EBA F8BA jsr [PC - 0x746 /* 00002758 */]
00002EA0 3B7C FFFF F280 move.w [A5 - 0xD80], 0xFFFF
00002EA6 504F addq.w A7, 8
label00002EA8:
00002EA8 202E FFD8 move.l D0, [A6 - 0x28]
00002EAC 0800 0000 btst.b D0, 0x0
00002EB0 670A beq +0xC /* 00002EBC */
00002EB2 558F subq.l A7, 2
00002EB4 2F06 move.l -[A7], D6
00002EB6 701F moveq.l D0, 0x1F
00002EB8 ABED syscall DragDispatch
00002EBA 544F addq.w A7, 2
label00002EBC:
00002EBC 4A6E FFF4 tst.w [A6 - 0xC]
00002EC0 6700 0090 beq +0x92 /* 00002F52 */
00002EC4 2054 movea.l A0, [A4]
00002EC6 3A28 0020 move.w D5, [A0 + 0x20]
00002ECA 3E28 0022 move.w D7, [A0 + 0x22]
00002ECE 2F0C move.l -[A7], A4
00002ED0 48C5 ext.l D5
00002ED2 2005 move.l D0, D5
00002ED4 5380 subq.l D0, 1
00002ED6 2F00 move.l -[A7], D0
00002ED8 4EBA FA28 jsr [PC - 0x5D8 /* 00002902 */]
00002EDC 4A00 tst.b D0
00002EDE 504F addq.w A7, 8
00002EE0 674C beq +0x4E /* 00002F2E */
00002EE2 2F0C move.l -[A7], A4
00002EE4 48C5 ext.l D5
00002EE6 2F05 move.l -[A7], D5
00002EE8 4EBA FA18 jsr [PC - 0x5E8 /* 00002902 */]
00002EEC 4A00 tst.b D0
00002EEE 504F addq.w A7, 8
00002EF0 663C bne +0x3E /* 00002F2E */
00002EF2 2F0C move.l -[A7], A4
00002EF4 48C7 ext.l D7
00002EF6 2007 move.l D0, D7
00002EF8 5380 subq.l D0, 1
00002EFA 2F00 move.l -[A7], D0
00002EFC 4EBA FA04 jsr [PC - 0x5FC /* 00002902 */]
00002F00 4A00 tst.b D0
00002F02 504F addq.w A7, 8
00002F04 6628 bne +0x2A /* 00002F2E */
00002F06 2F0C move.l -[A7], A4
00002F08 48C7 ext.l D7
00002F0A 2F07 move.l -[A7], D7
00002F0C 4EBA F9F4 jsr [PC - 0x60C /* 00002902 */]
00002F10 4A00 tst.b D0
00002F12 504F addq.w A7, 8
00002F14 6718 beq +0x1A /* 00002F2E */
00002F16 2F0C move.l -[A7], A4
00002F18 48C7 ext.l D7
00002F1A 2F07 move.l -[A7], D7
00002F1C 4EBA F99A jsr [PC - 0x666 /* 000028B8 */]
00002F20 0C00 0020 cmpi.b D0, 0x20 /* ' ' */
00002F24 504F addq.w A7, 8
00002F26 6606 bne +0x8 /* 00002F2E */
00002F28 2054 movea.l A0, [A4]
00002F2A 5268 0022 addq.w [A0 + 0x22], 1
label00002F2E:
00002F2E BA6D F27C cmp.w D5, [A5 - 0xD84]
00002F32 6C1A bge +0x1C /* 00002F4E */
00002F34 2054 movea.l A0, [A4]
00002F36 3E28 0022 move.w D7, [A0 + 0x22]
00002F3A 3007 move.w D0, D7
00002F3C 9045 sub.w D0, D5
00002F3E 916D F27C sub.w [A5 - 0xD84], D0
00002F42 48C7 ext.l D7
00002F44 48C5 ext.l D5
00002F46 2007 move.l D0, D7
00002F48 9085 sub.l D0, D5
00002F4A 91AE FFF6 sub.l [A6 - 0xA], D0
label00002F4E:
00002F4E 2F0C move.l -[A7], A4
00002F50 A9D7 syscall TEDelete
label00002F52:
00002F52 2F0C move.l -[A7], A4
00002F54 2F0B move.l -[A7], A3
00002F56 2F2E FFE4 move.l -[A7], [A6 - 0x1C]
00002F5A 2F2E FFE0 move.l -[A7], [A6 - 0x20]
00002F5E 302D F27C move.w D0, [A5 - 0xD84]
00002F62 48C0 ext.l D0
00002F64 2F00 move.l -[A7], D0
00002F66 4EBA F9E2 jsr [PC - 0x61E /* 0000294A */]
00002F6A 48C0 ext.l D0
00002F6C 2D40 FFFA move.l [A6 - 0x6], D0
00002F70 2D40 FFD0 move.l [A6 - 0x30], D0
00002F74 302E FFD2 move.w D0, [A6 - 0x2E]
00002F78 D06E FFE6 add.w D0, [A6 - 0x1A]
00002F7C D16D F27C add.w [A5 - 0xD84], D0
00002F80 202E FFD0 move.l D0, [A6 - 0x30]
00002F84 D0AE FFE4 add.l D0, [A6 - 0x1C]
00002F88 D1AE FFEC add.l [A6 - 0x14], D0
00002F8C 206E FFE0 movea.l A0, [A6 - 0x20]
00002F90 A01F syscall DisposPtr/DisposePtr
00002F92 200B move.l D0, A3
00002F94 4FEF 0014 lea.l A7, [A7 + 0x14]
00002F98 6704 beq +0x6 /* 00002F9E */
00002F9A 204B movea.l A0, A3
00002F9C A023 syscall DisposHandle/DisposeHandle
label00002F9E:
00002F9E 3004 move.w D0, D4
00002FA0 5244 addq.w D4, 1
label00002FA2:
00002FA2 B86E FFD6 cmp.w D4, [A6 - 0x2A]
00002FA6 6300 FE00 bls -0x1FE /* 00002DA8 */
00002FAA 2F2E FFF6 move.l -[A7], [A6 - 0xA]
00002FAE 202E FFEC move.l D0, [A6 - 0x14]
00002FB2 D0AE FFF6 add.l D0, [A6 - 0xA]
00002FB6 2F00 move.l -[A7], D0
00002FB8 2F0C move.l -[A7], A4
00002FBA A9D1 syscall TESetSelect
00002FBC 7000 moveq.l D0, 0x00
00002FBE 2F00 move.l -[A7], D0
00002FC0 2F2E 000C move.l -[A7], [A6 + 0xC]
00002FC4 4EBA D0A2 jsr [PC - 0x2F5E /* 00000068 */]
00002FC8 7000 moveq.l D0, 0x00
00002FCA 2F00 move.l -[A7], D0
00002FCC 2F00 move.l -[A7], D0
00002FCE 2F00 move.l -[A7], D0
00002FD0 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002FD4 4EAD 0042 jsr [A5 + 0x42 /* export_4 */]
00002FD8 206E 000C movea.l A0, [A6 + 0xC]
00002FDC 117C 0001 00F3 move.b [A0 + 0xF3], 0x1
00002FE2 4A2E FFFF tst.b [A6 - 0x1]
00002FE6 4FEF 0018 lea.l A7, [A7 + 0x18]
00002FEA 6604 bne +0x6 /* 00002FF0 */
00002FEC 2F0C move.l -[A7], A4
00002FEE A9D9 syscall TEDeactivate
label00002FF0:
00002FF0 7000 moveq.l D0, 0x00
label00002FF2:
00002FF2 4CEE 18F8 FFB4 movem.l D3,D4,D5,D6,D7,A3,A4, [A6 - 0x4C]
00002FF8 4E5E unlink A6
00002FFA 4E75 rts
fn00002FFC:
00002FFC 4E56 FFE8 link A6, -0x0018
00003000 48E7 0118 movem.l -[A7], D7,A3,A4
00003004 42AE FFE8 clr.l [A6 - 0x18]
00003008 7000 moveq.l D0, 0x00
0000300A 2640 movea.l A3, D0
0000300C 2F2E 0014 move.l -[A7], [A6 + 0x14]
00003010 598F subq.l A7, 4
00003012 A8D8 syscall NewRgn
00003014 2857 movea.l A4, [A7]
00003016 A8DC syscall CopyRgn
00003018 486E FFE8 pea.l [A6 - 0x18]
0000301C A870 syscall LocalToGlobal
0000301E 2F0C move.l -[A7], A4
00003020 2F2E FFE8 move.l -[A7], [A6 - 0x18]
00003024 A8E0 syscall OffsetRgn/OfsetRgn
00003026 558F subq.l A7, 2
00003028 206E 0010 movea.l A0, [A6 + 0x10]
0000302C 2F28 000A move.l -[A7], [A0 + 0xA]
00003030 7023 moveq.l D0, 0x23
00003032 ABED syscall DragDispatch
00003034 4A1F tst.b [A7]+
00003036 6606 bne +0x8 /* 0000303E */
00003038 7000 moveq.l D0, 0x00
0000303A 6000 0196 bra +0x198 /* 000031D2 */
label0000303E:
0000303E 558F subq.l A7, 2
00003040 486E FFEC pea.l [A6 - 0x14]
00003044 7005 moveq.l D0, 0x05
00003046 ABED syscall DragDispatch
00003048 558F subq.l A7, 2
0000304A 2F2E FFEC move.l -[A7], [A6 - 0x14]
0000304E 7001 moveq.l D0, 0x01
00003050 2F00 move.l -[A7], D0
00003052 2F3C 5445 5854 move.l -[A7], 0x54455854 /* 'TEXT' */
00003058 206E 000C movea.l A0, [A6 + 0xC]
0000305C 2F28 0170 move.l -[A7], [A0 + 0x170]
00003060 4EBA F626 jsr [PC - 0x9DA /* 00002688 */]
00003064 588F addq.l A7, 4
00003066 2F00 move.l -[A7], D0
00003068 206E 000C movea.l A0, [A6 + 0xC]
0000306C 2F28 0170 move.l -[A7], [A0 + 0x170]
00003070 4EBA F5F4 jsr [PC - 0xA0C /* 00002666 */]
00003074 48C0 ext.l D0
00003076 588F addq.l A7, 4
00003078 2F00 move.l -[A7], D0
0000307A 7000 moveq.l D0, 0x00
0000307C 2F00 move.l -[A7], D0
0000307E 7007 moveq.l D0, 0x07
00003080 ABED syscall DragDispatch
00003082 598F subq.l A7, 4
00003084 206E 000C movea.l A0, [A6 + 0xC]
00003088 2F28 0170 move.l -[A7], [A0 + 0x170]
0000308C 3F3C 0006 move.w -[A7], 0x6
00003090 A83D syscall TEDispatch
00003092 265F movea.l A3, [A7]+
00003094 200B move.l D0, A3
00003096 584F addq.w A7, 4
00003098 672C beq +0x2E /* 000030C6 */
0000309A 204B movea.l A0, A3
0000309C A029 syscall HLock
0000309E 558F subq.l A7, 2
000030A0 2F2E FFEC move.l -[A7], [A6 - 0x14]
000030A4 7001 moveq.l D0, 0x01
000030A6 2F00 move.l -[A7], D0
000030A8 2F3C 7374 796C move.l -[A7], 0x7374796C /* 'styl' */
000030AE 2F13 move.l -[A7], [A3]
000030B0 598F subq.l A7, 4
000030B2 2F0B move.l -[A7], A3
000030B4 4EAD 00EA jsr [A5 + 0xEA /* export_25 */]
000030B8 7000 moveq.l D0, 0x00
000030BA 2F00 move.l -[A7], D0
000030BC 7007 moveq.l D0, 0x07
000030BE ABED syscall DragDispatch
000030C0 204B movea.l A0, A3
000030C2 A023 syscall DisposHandle/DisposeHandle
000030C4 544F addq.w A7, 2
label000030C6:
000030C6 558F subq.l A7, 2
000030C8 2F2E FFEC move.l -[A7], [A6 - 0x14]
000030CC 7001 moveq.l D0, 0x01
000030CE 2F00 move.l -[A7], D0
000030D0 2054 movea.l A0, [A4]
000030D2 4868 0002 pea.l [A0 + 0x2]
000030D6 7016 moveq.l D0, 0x16
000030D8 ABED syscall DragDispatch
000030DA 598F subq.l A7, 4
000030DC A8D8 syscall NewRgn
000030DE 265F movea.l A3, [A7]+
000030E0 2F0C move.l -[A7], A4
000030E2 2F0B move.l -[A7], A3
000030E4 A8DC syscall CopyRgn
000030E6 2F0B move.l -[A7], A3
000030E8 7001 moveq.l D0, 0x01
000030EA 3F00 move.w -[A7], D0
000030EC 3F00 move.w -[A7], D0
000030EE A8E1 syscall InsetRgn
000030F0 2F0C move.l -[A7], A4
000030F2 2F0B move.l -[A7], A3
000030F4 2F0C move.l -[A7], A4
000030F6 A8E6 syscall DiffRgn
000030F8 2F0B move.l -[A7], A3
000030FA A8D9 syscall DisposRgn/DisposeRgn
000030FC 558F subq.l A7, 2
000030FE 2F2E FFEC move.l -[A7], [A6 - 0x14]
00003102 2F2E 0010 move.l -[A7], [A6 + 0x10]
00003106 2F0C move.l -[A7], A4
00003108 700D moveq.l D0, 0x0D
0000310A ABED syscall DragDispatch
0000310C 3E1F move.w D7, [A7]+
0000310E 544F addq.w A7, 2
00003110 670C beq +0xE /* 0000311E */
00003112 0C47 FF80 cmpi.w D7, 0xFF80
00003116 6706 beq +0x8 /* 0000311E */
00003118 7001 moveq.l D0, 0x01
0000311A 6000 00B6 bra +0xB8 /* 000031D2 */
label0000311E:
0000311E 558F subq.l A7, 2
00003120 2F2E FFEC move.l -[A7], [A6 - 0x14]
00003124 486E FFF8 pea.l [A6 - 0x8]
00003128 7019 moveq.l D0, 0x19
0000312A ABED syscall DragDispatch
0000312C 7002 moveq.l D0, 0x02
0000312E C0AE FFF8 and.l D0, [A6 - 0x8]
00003132 544F addq.w A7, 2
00003134 6600 008A bne +0x8C /* 000031C0 */
00003138 558F subq.l A7, 2
0000313A 2F2E FFEC move.l -[A7], [A6 - 0x14]
0000313E 486E FFF0 pea.l [A6 - 0x10]
00003142 7017 moveq.l D0, 0x17
00003144 ABED syscall DragDispatch
00003146 558F subq.l A7, 2
00003148 2F2E FFEC move.l -[A7], [A6 - 0x14]
0000314C 7000 moveq.l D0, 0x00
0000314E 2F00 move.l -[A7], D0
00003150 486E FFFC pea.l [A6 - 0x4]
00003154 486E FFFE pea.l [A6 - 0x2]
00003158 701D moveq.l D0, 0x1D
0000315A ABED syscall DragDispatch
0000315C 302E FFFE move.w D0, [A6 - 0x2]
00003160 806E FFFC or.w D0, [A6 - 0x4]
00003164 3E3C 0800 move.w D7, 0x800
00003168 CE40 and.w D7, D0
0000316A 4A47 tst.w D7
0000316C 584F addq.w A7, 4
0000316E 6642 bne +0x44 /* 000031B2 */
00003170 486E FFF0 pea.l [A6 - 0x10]
00003174 4EAD 019A jsr [A5 + 0x19A /* export_47 */]
00003178 4A00 tst.b D0
0000317A 584F addq.w A7, 4
0000317C 6734 beq +0x36 /* 000031B2 */
0000317E 206E 000C movea.l A0, [A6 + 0xC]
00003182 2F28 0170 move.l -[A7], [A0 + 0x170]
00003186 A9D7 syscall TEDelete
00003188 7000 moveq.l D0, 0x00
0000318A 2F00 move.l -[A7], D0
0000318C 2F2E 000C move.l -[A7], [A6 + 0xC]
00003190 4EBA CED6 jsr [PC - 0x312A /* 00000068 */]
00003194 7000 moveq.l D0, 0x00
00003196 2F00 move.l -[A7], D0
00003198 2F00 move.l -[A7], D0
0000319A 2F00 move.l -[A7], D0
0000319C 2F2E 0008 move.l -[A7], [A6 + 0x8]
000031A0 4EAD 0042 jsr [A5 + 0x42 /* export_4 */]
000031A4 206E 000C movea.l A0, [A6 + 0xC]
000031A8 117C 0001 00F3 move.b [A0 + 0xF3], 0x1
000031AE 4FEF 0018 lea.l A7, [A7 + 0x18]
label000031B2:
000031B2 558F subq.l A7, 2
000031B4 486E FFF0 pea.l [A6 - 0x10]
000031B8 303C 0204 move.w D0, 0x204
000031BC A816 syscall Pack8
000031BE 544F addq.w A7, 2
label000031C0:
000031C0 558F subq.l A7, 2
000031C2 2F2E FFEC move.l -[A7], [A6 - 0x14]
000031C6 7006 moveq.l D0, 0x06
000031C8 ABED syscall DragDispatch
000031CA 2F0C move.l -[A7], A4
000031CC A8D9 syscall DisposRgn/DisposeRgn
000031CE 7001 moveq.l D0, 0x01
000031D0 544F addq.w A7, 2
label000031D2:
000031D2 4CEE 1880 FFDC movem.l D7,A3,A4, [A6 - 0x24]
000031D8 4E5E unlink A6
000031DA 4E75 rts